mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-09-06 01:22:23 +00:00
15 lines
294 B
PHP
15 lines
294 B
PHP
<?php namespace BookStack\Exceptions;
|
|
|
|
class BadRequestException extends PrettyException
|
|
{
|
|
|
|
/**
|
|
* BadRequestException constructor.
|
|
* @param string $message
|
|
*/
|
|
public function __construct($message = 'Bad request')
|
|
{
|
|
parent::__construct($message, 400);
|
|
}
|
|
}
|