Astrotomic/laravel-backuplay

View on GitHub
src/Backuplay/Exceptions/FileIsntReadableException.php

Summary

Maintainability
A
1 hr
Test Coverage
<?php

namespace Astrotomic\Backuplay\Exceptions;

use Exception;

/**
 * Class FileIsntReadableException.
 */
class FileIsntReadableException extends Exception
{
    /**
     * FileIsntReadableException constructor.
     * @param string $message
     * @param int $code
     * @param Exception|null $previous
     */
    public function __construct($message, $code = 0, Exception $previous = null)
    {
        $this->message = $message.' isn\'t readable';
        parent::__construct($message, $code, $previous);
    }
}