<?php

namespace Velis\Exception;

use Exception;
use Throwable;

class WrongTicketTypeException extends Exception
{
    public function __construct(string $message = "", int $code = 0, ?Throwable $previous = null)
    {
        if (empty($message)) {
            $message = 'Wrong ticket type';
        }

        parent::__construct($message, $code, $previous);
    }
}
