__construct() public method

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