Crate appbiotic_code_error

Source
Expand description

§appbiotic-code-error

Appbiotic Code Error is a set of types to make it easier assembling services and applications with similar error reporting to the end-user. It is not necessarily meant for lower level libraries such as adding derived traits for serialization, or database libraries where specifically-typed error handling is required.

This component’s Rust-based API is original; however, the error codes and descriptions are copied directly from the https://github.com/googleapis/googleapis project.

Modules§

code

Structs§

ErrorStatus
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details.
Field
FieldViolation
A message type used to describe a single bad request field.
Request
A request for inter-module communication.
Response
A response for inter-module communication.

Enums§

Error
ErrorDetails
The specific details of an error that may be optionally forwarded to an end-user.
Property

Type Aliases§

Result