RequestError::__construct PHP Method

__construct() public method

public __construct ( $reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null )
        public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null)
        {
            parent::__construct();
            $this->reason = $reason;
            $this->fieldPath = $fieldPath;
            $this->trigger = $trigger;
            $this->errorString = $errorString;
            $this->ApiErrorType = $ApiErrorType;
        }

Usage Example

Ejemplo n.º 1
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct("The resource could not be found");
 }
All Usage Examples Of RequestError::__construct