View Source ExWechatpay.Exception exception (ex_wechatpay v0.2.0)

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

Summary

Types

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

Functions

Link to this function

new(message, details \\ nil)

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