Nextcloud PHP API (master)

GenericEncryptionException extends HintException
in package

Class GenericEncryptionException

Tags
since
8.1.0

Table of Contents

Properties

$hint  : mixed

Methods

__construct()  : mixed
HintException constructor.
__toString()  : string
Returns a string representation of this Exception that includes the error code, the message and the hint.
getHint()  : string
Returns the hint with the intention to be presented to the end user. If an empty hint was specified upon instantiation, the message is returned instead.

Properties

Methods

__construct()

HintException constructor.

public __construct([string $message = '' ][, string $hint = '' ][, int $code = 0 ][, Exception|null $previous = null ]) : mixed
Parameters
$message : string = ''
$hint : string = ''
$code : int = 0
$previous : Exception|null = null
Tags
since
8.1.0

__toString()

Returns a string representation of this Exception that includes the error code, the message and the hint.

public __toString() : string
Tags
since
23.0.0
Return values
string

getHint()

Returns the hint with the intention to be presented to the end user. If an empty hint was specified upon instantiation, the message is returned instead.

public getHint() : string
Tags
since
23.0.0
Return values
string

        
On this page

Search results