Class Phalcon\Acl\Exception

extends Phalcon\Exception

Broncode op GitHub

Exceptions thrown in Phalcon\Acl\* will use this class


public function getCode(): int

Gets the exception code

public function getFile(): string

Gets the file in which the exception occurred

public function getLine(): int

Gets the line on which the object was instantiated

public function getMessage(): string

Gets the message

public function getPrevious(): \Throwable

Get the previous \Throwable object

public function getTrace(): array

Gets the stack trace

public function getTraceAsString(): string

Gets the stack trace as a string

public function __toString(): string

Gets a string representation of the thrown object