SpanStatus class

The Span statuses

Constructors

SpanStatus.aborted()
The operation was aborted.
const
SpanStatus.alreadyExists()
The entity attempted to be created already exists
const
SpanStatus.cancelled()
The operation was cancelled, typically by the caller.
const
SpanStatus.dataLoss()
Unrecoverable data loss or corruption.
const
SpanStatus.deadlineExceeded()
The deadline expired before the operation could succeed.
const
SpanStatus.failedPrecondition()
The client shouldn't retry until the system state has been explicitly handled.
const
SpanStatus.fromHttpStatusCode(int httpStatusCode, {SpanStatus? fallback})
Creates SpanStatus from HTTP status code.
factory
SpanStatus.fromString(String value)
Creates SpanStatus from a String.
factory
SpanStatus.internalError()
Some invariants expected by the underlying system have been broken. This code is reserved for serious errors.
const
SpanStatus.invalidArgument()
The client specified an invalid argument.
const
SpanStatus.notFound()
Content was not found or request was denied for an entire class of users.
const
SpanStatus.ok()
Not an error, returned on success.
const
SpanStatus.outOfRange()
The operation was attempted past the valid range e.g. seeking past the end of a file.
const
SpanStatus.permissionDenied()
The caller doesn't have permission to execute the specified operation.
const
SpanStatus.resourceExhausted()
The resource has been exhausted e.g. per-user quota exhausted, file system out of space.
const
SpanStatus.unauthenticated()
The requester doesn't have valid authentication credentials for the operation.
const
SpanStatus.unavailable()
The service is currently available e.g. as a transient condition.
const
SpanStatus.unimplemented()
The operation is not implemented or is not supported/enabled for this operation.
const
SpanStatus.unknown()
An unknown error raised by APIs that don't return enough error information.
const
SpanStatus.unknownError()
An unknown error raised by APIs that don't return enough error information.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
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 o) bool
The equality operator.
override