Packages

Complete Stripe SDK for Elixir with parity to the official Ruby SDK. V1+V2 coverage (193 services, 320 resource structs, 525 documented params). Per-event modules, Finch HTTP/2, RustyJSON, automatic retries, OAuth, webhooks, telemetry, per-client config, streaming pagination.

Current section

Files

Jump to
tiger_stripe lib stripe resources stripe_error_response.ex
Raw

lib/stripe/resources/stripe_error_response.ex

# File generated from our OpenAPI spec
defmodule Stripe.Resources.StripeErrorResponse do
@moduledoc """
An error response from the Stripe API
"""
@typedoc """
* `error`
"""
@type t :: %__MODULE__{
error: Stripe.Resources.StripeError.t()
}
defstruct [:error]
@object_name "error"
def object_name, do: @object_name
def __nested_fields__ do
%{
"error" => {:resource, Stripe.Resources.StripeError}
}
end
end