Packages

UserCheck's public REST API help your to stop Disposable Emails from Creating Spam Accounts Integrate an always up-to-date API to instantly detect temporary and disposable email addresses during user registration.

Current section

Files

Jump to
ex_user_check lib ex_user_check models error.ex
Raw

lib/ex_user_check/models/error.ex

defmodule ExUserCheck.Error do
@moduledoc "Deserialization model for ExUserCheck API errors"
@enforce_keys ~w(
status
error
)a
defstruct @enforce_keys
@type t :: %__MODULE__{
status: integer(),
error: String.t()
}
use ExConstructor
end