Crate api_response

Source
Expand description

§API Response Library

This library provides a consistent structure for API responses, including success and error handling, with support for various serialization formats like JSON and Protobuf.

§Modules

  • meta: Contains the meta structures.
  • success: Contains the success response structures.
  • error: Contains the error handling structures.

Re-exports§

Modules§

Macros§

  • Quickly create an ApiError builder ApiErr and collect error code mode information.
  • Quickly create an ApiError builder ApiErrX and collect error code mode information.

Enums§