<?php declare(strict_types=1);

namespace Seven\Api\Exception;

use Exception;

class UnknownOptionException extends Exception {
    public function __construct($message, $code = 0, Exception $previous = null) {
        parent::__construct($message, $code, $previous);
    }

    /** @return string */
    public function __toString() {
        return __CLASS__ . ": [$this->code]: Unknown option $this->message" . PHP_EOL;
    }
}
