<?php

    namespace ncc\Exceptions;

    use ncc\Abstracts\ExceptionCodes;
    use Throwable;

    class GitCheckoutException extends \Exception
    {
        /**
         * @param string $message
         * @param Throwable|null $previous
         */
        public function __construct(string $message = "", ?Throwable $previous = null)
        {
            parent::__construct($message, ExceptionCodes::GitCheckoutException, $previous);
            $this->message = $message;
        }
    }
