BookStack/app/Exceptions/BadRequestException.php
Abijeet 714c7bbd3a Adds code to delete the revision.
Signed-off-by: Abijeet <abijeetpatro@gmail.com>
2018-09-15 15:15:42 +05:30

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);
}
}