public function __construct($error, $query = "", $data = [])
 {
     if (DEBUG && $query != "") {
         $data["query"] = $query;
     }
     parent::__construct($error, $data);
 }
 public function __construct($file)
 {
     parent::__construct("Could not find file required", ["file" => $file]);
 }
 public function __construct(Token $profile)
 {
     parent::__construct("Could not find assessment with id provided.", ["id" => $profile->toString()]);
 }
 public function __construct($error)
 {
     parent::__construct($error);
 }
 public function __construct($method)
 {
     parent::__construct("Method not allowed", ["method" => $method]);
 }
 public function __construct($error, $payload = [])
 {
     parent::__construct($error, $payload);
 }
 public function __construct($version)
 {
     parent::__construct("Version specified cannot be found", ["version" => $version]);
 }
 public function __construct($error, $data = [])
 {
     parent::__construct($error, $data);
 }
 public function __construct($request)
 {
     parent::__construct("Method not found", ["request" => $request]);
 }
 public function __construct($error = "Could not find assignment with id provided.", Token $id = null)
 {
     parent::__construct($error, $id != null ? ["id" => $id->toString()] : []);
 }