LoaderLoadException
extends Exception
in package
Exception class for when a resource cannot be loaded or imported.
Tags
Table of Contents
Methods
- __construct() : mixed
- varToString() : mixed
Methods
__construct()
public
__construct(string $resource[, string|null $sourceResource = null ][, int $code = 0 ][, Throwable|null $previous = null ][, string|null $type = null ]) : mixed
Parameters
- $resource : string
-
The resource that could not be imported
- $sourceResource : string|null = null
-
The original resource importing the new resource
- $code : int = 0
-
The error code
- $previous : Throwable|null = null
-
A previous exception
- $type : string|null = null
-
The type of resource
varToString()
protected
varToString(mixed $var) : mixed
Parameters
- $var : mixed