ExOsrsApi.Errors.Error.new

You're seeing just the function new, go back to ExOsrsApi.Errors.Error module for more information.

Specs

new(:data_access_error, String.t()) :: t()
new(:task_error, String.t()) :: t()
Link to this function

new(atom, message, metadata)

View Source

Specs

new(:http_error, String.t(), ExOsrsApi.Errors.HttpErrorMetadata.t()) :: t()
new(:ratelimit_error, String.t(), ExOsrsApi.Errors.RatelimitErrorMetadata.t()) ::
  t()
new(:parsing_error, String.t(), ExOsrsApi.Errors.ParsingErrorMetadata.t()) ::
  t()