master

laravel/framework

Last updated at: 29/12/2023 09:22

MissingAppKeyException.php

TLDR

This file defines a class called MissingAppKeyException in the Illuminate\Encryption namespace. It extends the RuntimeException class.

Classes

MissingAppKeyException

This class represents an exception that is thrown when no application encryption key has been specified. It extends the RuntimeException class.

No methods are defined in this class.

<?php

namespace Illuminate\Encryption;

use RuntimeException;

class MissingAppKeyException extends RuntimeException
{
    /**
     * Create a new exception instance.
     *
     * @param  string  $message
     * @return void
     */
    public function __construct($message = 'No application encryption key has been specified.')
    {
        parent::__construct($message);
    }
}