View Source WorkOS.Error (WorkOS SDK for Elixir v1.1.0)

Castable module for returning structured errors from the WorkOS API.

Summary

Types

@type t() :: %WorkOS.Error{
  code: String.t() | nil,
  error: String.t() | nil,
  error_description: String.t() | nil,
  errors: [unprocessable_entity_error()] | nil,
  message: String.t()
}
Link to this type

unprocessable_entity_error()

View Source
@type unprocessable_entity_error() :: %{field: String.t(), code: String.t()}