public function __construct() { $errorMessage = 'The grant type is not supported.'; parent::__construct(400, 'unsupported_grant_type', $errorMessage); }
public function __construct($error, $errorMessage = null) { parent::__construct(401, $error, $errorMessage); }
public function __construct($errorMessage = null) { parent::__construct(400, 'invalid_request', $errorMessage); }
public function __construct() { parent::__construct(400, 'invalid_request', 'Client credentials are required.'); }