Inttegro.UploadRequests.LatestError (inttegro v0.2.0)

Copy Markdown View Source

Represents Latest Error data in the UploadRequests API.

Inttegro decodes API responses into this struct. Required fields are always present; optional fields are nil when they do not apply or were not returned. Follow the linked types in t/0 for nested domain values.

Creates secure upload requests that let another party supply a file.

The application defines constraints and display information, then gives the uploader the request ID and token. Fulfilment does not use the application's secret key. Review and status operations let the application accept, reject, or cancel the resulting attempt.

Summary

Types

t()

The decoded latest error value.

Functions

Builds a Inttegro.UploadRequests.LatestError and raises KeyError when a required field is missing.

Types

t()

@type t() :: %Inttegro.UploadRequests.LatestError{
  at: String.t() | nil,
  code: String.t() | nil,
  message: String.t() | nil,
  param: String.t() | nil,
  retryable: boolean() | nil
}

The decoded latest error value.

Functions

new!(attrs \\ %{})

@spec new!(map() | keyword()) :: t()

Builds a Inttegro.UploadRequests.LatestError and raises KeyError when a required field is missing.