ExWechatpay.Exception exception (ex_wechatpay v0.3.0)

View Source

General exception with an optional string, map, or Keyword list stored in exception details

Summary

Types

t()

@type t() :: %ExWechatpay.Exception{
  __exception__: true,
  details: any(),
  message: String.t() | nil
}

Functions

new(message, details \\ nil)

@spec new(String.t() | nil, any()) :: t()