Current section

Files

Jump to
polarex lib polarex schemas already_canceled_subscription.ex
Raw

lib/polarex/schemas/already_canceled_subscription.ex

defmodule Polarex.AlreadyCanceledSubscription do
@moduledoc """
Provides struct and type for a AlreadyCanceledSubscription
"""
@type t :: %__MODULE__{detail: String.t(), error: String.t()}
defstruct [:detail, :error]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[detail: :string, error: {:const, "AlreadyCanceledSubscription"}]
end
end