NosLib v0.2.0 NosLib.ErrorHelpers View Source

Helpers for error serialization.

Link to this section Summary

Link to this section Types

Link to this type

reason()

View Source
reason() ::
  :outdated_client
  | :unexpected_error
  | :maintenance
  | :session_already_used
  | :unvalid_credentials
  | :cant_authenticate
  | :citizen_blacklisted
  | :country_blacklisted
  | :bad_case

Link to this section Functions

Link to this function

serialize_reason(atom)

View Source
serialize_reason(reason()) :: non_neg_integer()