__construct() public method

public __construct ( $reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null )
Esempio n. 1
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct("The resource could not be found");
 }
Esempio n. 2
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct("Invalid accepte content type sent for this endpoint/method");
 }
Esempio n. 3
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct("Invalid combination for method/endpoint");
 }
Esempio n. 4
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct("Your authentication credentials were rejected");
 }
Esempio n. 5
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct("Please contact sales or support");
 }
Esempio n. 6
0
 /**
  * Constructor.
  *
  * @param PortaText\Command\Descriptor $descriptor The Command descriptor.
  * @param PortaText\Command\Result $result Request result.
  */
 public function __construct($descriptor = null, $result = null)
 {
     parent::__construct("There was an error with how the request was sent", $descriptor, $result);
 }
Esempio n. 7
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct("Internal server error, please contact support");
 }