DataLossError class
Unrecoverable data loss or corruption.
- Inheritance
- Mixed-in types
- Annotations
-
- @httpError(HttpStatus.internalServerError)
Constructors
- DataLossError.new([String? message, JsonValue? details, int? code])
-
Creates a DataLossError with the given
message
. - DataLossError.of({String? message, int? code, JsonValue? details})
Properties
- code → int
-
The code associated with the exception.
final
- details → JsonValue?
-
Any details associated with the exception.
final
- grpcStatus → int
-
The gRPC status associated with the exception.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpStatus → HttpStatus
-
The HTTP status associated with the exception.
no setteroverride
- message → String
-
The message associated with this exception.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
The stack trace at the point where this error was first thrown.
no setterinherited
- type → String
-
The type identifier of the exception.
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toGrpcError(
) → GrpcError -
Converts the exception to a gRPC error.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited