Example #1
0
 public function __construct($message, $source = null, $stackTrace = null)
 {
     parent::__construct(self::NOTFOUND, $message, $source, $stackTrace);
 }
Example #2
0
 public function __construct($message, $source = null, $stackTrace = null)
 {
     parent::__construct(self::UNAUTHORIZED, $message, $source, $stackTrace);
 }
Example #3
0
 public function toArray()
 {
     $arr = parent::toArray();
     $arr["field"] = $this->getField();
     return $arr;
 }