Documentation

ExceedsLoanLimitException extends Exception
in package

Class ExceedsLoanLimitException

Exception thrown when a user exceeds the allowed loan limit.

Table of Contents

Methods

__construct()  : mixed
Constructor for the ExceedsLoanLimitException class.
__toString()  : string
Converts the exception to a string representation.

Methods

__construct()

Constructor for the ExceedsLoanLimitException class.

public __construct([string $message = "User has exceeded the loan limit" ][, int $code = 0 ][, Exception|null $previous = null ]) : mixed
Parameters
$message : string = "User has exceeded the loan limit"

The exception message (default is "User has exceeded the loan limit").

$code : int = 0

The exception code (default is 0).

$previous : Exception|null = null

The previous exception used for exception chaining.

__toString()

Converts the exception to a string representation.

public __toString() : string
Return values
string

The string representation of the exception.


        
On this page

Search results