ExVerticalBooking v0.2.4 ExVerticalBooking.Error exception View Source

Link to this section Summary

Functions

Convert reason atom to human readable string

Convert API Error code to reason atom

Link to this section Types

Link to this type

t()

View Source
t() :: %ExVerticalBooking.Error{__exception__: term(), reason: any()}

Link to this section Functions

Link to this function

humanize_error(reason)

View Source
humanize_error(atom()) :: String.t()

Convert reason atom to human readable string

Link to this function

reason_for(e)

View Source
reason_for(neg_integer()) :: atom()

Convert API Error code to reason atom

Link to this function

reason_for(arg1, reason)

View Source