Bson.Error
BSON error encapsulation
type t
Type used as an out-parameter to pass error information to the caller.
val domain : t -> int
domain error names the subsystem that generated the error.
domain error
error
val code : t -> int
code error is a domain-specific error type.
code error
val message : t -> string
message error describes the error.
message error