View Source Mongo.Error exception (mongodb-driver v1.4.1)
Summary
Functions
Returns true if the error is issued by the failCommand
Return true if the error == not writable primary or in recovering mode.
Return true if the error is retryable for read operations.
Return true if the error is retryable for writes operations.
Types
@type t() :: %Mongo.Error{ __exception__: true, code: number(), error_info: map(), error_labels: [String.t()] | nil, fail_command: boolean(), host: String.t(), message: String.t(), not_writable_primary_or_recovering: boolean(), resumable: boolean(), retryable_reads: boolean(), retryable_writes: boolean() }
Functions
Returns true if the error is issued by the failCommand
Return true if the error == not writable primary or in recovering mode.
Return true if the error is retryable for read operations.
Return true if the error is retryable for writes operations.