View Source StarkCore.Error (starkcore v0.1.6)

Summary

Functions

Error generated on interactions with the API

Types

@type t() :: %StarkCore.Error{code: String.t(), message: String.t()}

Functions

Link to this function

%StarkCore.Error{}

View Source (struct)

Error generated on interactions with the API

If the error code is:

  • "internalServerError": the API has run into an internal error. If you ever stumble upon this one, rest assured that the development team is already rushing in to fix the mistake and get you back up to speed.
  • "unknownException": a request encounters an error that has not been sent by the API, such as connectivity problems.
  • any other binary: the API has detected a mistake in your request

Attributes: