Sage Intacct SDK for PHP
ResultException Class Reference
Inheritance diagram for ResultException:
ResponseException

Public Member Functions

 __construct (string $message, array $errors=[], int $code=0, \Exception $previous=null)
 
- Public Member Functions inherited from ResponseException
 __construct (string $message, array $errors=[], int $code=0, \Exception $previous=null)
 
 getErrors ()
 

Additional Inherited Members

- Protected Attributes inherited from ResponseException
 $errors
 

Detailed Description

Class ResultException

A ResultException being thrown is generally a problem with an API function being executed.

Constructor & Destructor Documentation

◆ __construct()

__construct ( string  $message,
array  $errors = [],
int  $code = 0,
\Exception  $previous = null 
)

Initializes the class

Parameters
string$message
array$errors
int$code
\Exception$previous

Reimplemented from ResponseException.