Module

Simple.Ajax.Errors

#BasicError

#BasicErrorRow

type BasicErrorRow e = (affjaxError :: Error, badRequest :: String, forbidden :: Unit, methodNotAllowed :: Unit, notFound :: Unit, serverError :: String, unAuthorized :: Unit | e)

#ParseError

type ParseError = (parseError :: JsonDecodeError)

#HTTPError

type HTTPError = BasicError ()

Basic error type containing the common http errors.

#AjaxError

type AjaxError = BasicError ParseError

Extends HTTPError to add json parsing errors.

#_parseError

_parseError :: Proxy @Symbol "parseError"

#_badRequest

_badRequest :: Proxy @Symbol "badRequest"

#_unAuthorized

_unAuthorized :: Proxy @Symbol "unAuthorized"

#_forbidden

_forbidden :: Proxy @Symbol "forbidden"

#_notFound

_notFound :: Proxy @Symbol "notFound"

#_methodNotAllowed

_methodNotAllowed :: Proxy @Symbol "methodNotAllowed"

#_serverError

_serverError :: Proxy @Symbol "serverError"

#_affjaxError

_affjaxError :: Proxy @Symbol "affjaxError"

#mapBasicError

Modules