Documentation

ANAFException extends Exception
in package

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

Constants

UNEXPECTED_RESPONSE_STRUCTURE

public mixed UNEXPECTED_RESPONSE_STRUCTURE = 5

Methods

__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

        
On this page

Search results