recurly v0.2.2 Recurly.NotFoundError

Module represents a not found error (404)

Examples

case Recurly.Account.find("accountdoesntexist") do
  {:ok, account} -> account
  {:error, error} -> error
end

# %Recurly.NotFoundError{description: "Couldn't find Account with account_code = accountdoesntexist",
#    path: nil, status_code: 404, symbol: :not_found}