Astrotomic/laravel-backuplay

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

Summary

Maintainability
A
1 hr
Test Coverage
<?php

namespace Astrotomic\Backuplay\Exceptions;

use Exception;

/**
 * Class FileIsntWritableException.
 */
class FileIsntWritableException extends Exception
{
    /**
     * FileIsntWritableException 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 writable';
        parent::__construct($message, $code, $previous);
    }
}