vonbraunlabs/slimx

View on GitHub
SlimX/Exceptions/ErrorCodeNotFoundException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace SlimX\Exceptions;

use SlimX\Models\Error;

class ErrorCodeNotFoundException extends \Exception
{
    public function __construct(int $code)
    {
        parent::__construct();
        $this->message = "Code $code is not registered";
    }
}