A general purpose response wrapper that is built for any failed API response.
t() :: %Payeezy.ErrorResponse{messages: Keyword.t}
construct(map) :: t