CouchbaseException class abstract Error Handling
A generic base exception that all exceptions inherit.
Exposes the context of the error to enable easier debugging.
- Implemented types
- Implementers
- AuthenticationFailure
- BucketExists
- BucketNotFlushable
- BucketNotFound
- CasMismatch
- CollectionExists
- CollectionNotFound
- CompilationFailure
- DatasetExists
- DatasetNotFound
- DataverseExists
- DataverseNotFound
- DecodingFailure
- DeltaInvalid
- DesignDocumentNotFound
- DmlFailure
- DocumentExists
- DocumentLocked
- DocumentNotFound
- DocumentNotJson
- DocumentUnretrievable
- DurabilityAmbiguous
- DurabilityImpossible
- DurabilityLevelNotAvailable
- DurableWriteInProgress
- DurableWriteReCommitInProgress
- EncodingFailure
- EventingFunctionCompilationFailure
- EventingFunctionDeployed
- EventingFunctionIdenticalKeyspace
- EventingFunctionNotBootstrapped
- EventingFunctionNotDeployed
- EventingFunctionNotFound
- EventingFunctionPaused
- FeatureNotAvailable
- GroupNotFound
- IndexExists
- IndexFailure
- IndexNotFound
- IndexNotReady
- InternalServerFailure
- InvalidArgument
- JobQueueFull
- LinkExists
- LinkNotFound
- MutationLost
- NumberTooBig
- ParsingFailure
- PathExists
- PathInvalid
- PathMismatch
- PathNotFound
- PathTooBig
- PathTooDeep
- PlanningFailure
- PreparedStatementFailure
- QuotaLimited
- RateLimited
- RequestCanceled
- ScopeExists
- ScopeNotFound
- ServiceNotAvailable
- TemporaryFailure
- TimeoutException
- TransactionCommitAmbiguous
- TransactionExpired
- TransactionFailed
- TransactionOperationFailed
- UnsupportedOperation
- UserExists
- UserNotFound
- ValueInvalid
- ValueNotJson
- ValueTooDeep
- ValueTooLarge
- ViewNotFound
- XattrCannotModifyVirtualAttribute
- XattrInvalidKeyCombo
- XattrNoAccess
- XattrUnknownMacro
- XattrUnknownVirtualAttribute
Constructors
- CouchbaseException([ErrorContext? context])
Properties
- context → ErrorContext?
-
Additional contextual information which is available for this exception.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited