Drahak\Restful\Application\BadRequestException::gone PHP Method

gone() public static method

Is thrown when this resource is not no longer available (e.g. with new API version)
public static gone ( string $message = '', Exception | Throwable $previous = NULL ) : BadRequestException
$message string
$previous Exception | Throwable
return BadRequestException
    public static function gone($message = '', $previous = NULL)
    {
        return new self($message, 410, $previous);
    }