__construct() public method

public __construct ( $reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null )
Exemplo n.º 1
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct("The resource could not be found");
 }
Exemplo n.º 2
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct("Invalid accepte content type sent for this endpoint/method");
 }
Exemplo n.º 3
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct("Invalid combination for method/endpoint");
 }
Exemplo n.º 4
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct("Your authentication credentials were rejected");
 }
Exemplo n.º 5
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct("Please contact sales or support");
 }
Exemplo 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);
 }
Exemplo n.º 7
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct("Internal server error, please contact support");
 }