ANAFException
extends Exception
Table of Contents
Constants
-
COMPOUND_ERROR
= 12
-
EMPTY_RAW_RESPONSE
= 2
-
HTTP_ERROR
= 10
-
INCOMPLETE_RESPONSE
= 8
-
INVALID_INPUT
= 9
-
JSON_PARSE_ERROR
= 4
-
JSON_UNKNOWN_ERROR
= 3
-
REMOTE_EXCEPTION
= 11
-
RESULT_NOT_FOUND
= 6
-
TOO_MANY_RESULTS
= 7
-
UNEXPECTED_RESPONSE_STRUCTURE
= 5
-
UNKNOWN_ERROR
= 1
Methods
-
__construct()
: mixed
COMPOUND_ERROR
public
mixed
COMPOUND_ERROR
= 12
EMPTY_RAW_RESPONSE
public
mixed
EMPTY_RAW_RESPONSE
= 2
HTTP_ERROR
public
mixed
HTTP_ERROR
= 10
INCOMPLETE_RESPONSE
public
mixed
INCOMPLETE_RESPONSE
= 8
public
mixed
INVALID_INPUT
= 9
JSON_PARSE_ERROR
public
mixed
JSON_PARSE_ERROR
= 4
JSON_UNKNOWN_ERROR
public
mixed
JSON_UNKNOWN_ERROR
= 3
REMOTE_EXCEPTION
public
mixed
REMOTE_EXCEPTION
= 11
RESULT_NOT_FOUND
public
mixed
RESULT_NOT_FOUND
= 6
TOO_MANY_RESULTS
public
mixed
TOO_MANY_RESULTS
= 7
UNEXPECTED_RESPONSE_STRUCTURE
public
mixed
UNEXPECTED_RESPONSE_STRUCTURE
= 5
UNKNOWN_ERROR
public
mixed
UNKNOWN_ERROR
= 1
__construct()
public
__construct([string $message = "Unknown error" ][, int $code = self::UNKNOWN_ERROR ][, Throwable|null $previous = null ]) : mixed
Parameters
-
$message
: string
= "Unknown error"
-
-
$code
: int
= self::UNKNOWN_ERROR
-
-
$previous
: Throwable|null
= null
-