Nextcloud PHP API (master)

StorageNotAvailableException extends HintException
in package

Storage is temporarily not available

Tags
since
6.0.0
since
8.2.1

based on HintException

Table of Contents

Constants

STATUS_ERROR  = 1
STATUS_INCOMPLETE_CONF  = 3
STATUS_INDETERMINATE  = 2
STATUS_NETWORK_ERROR  = 6
STATUS_SUCCESS  = 0
STATUS_TIMEOUT  = 5
STATUS_UNAUTHORIZED  = 4

Properties

$hint  : mixed

Methods

__construct()  : mixed
StorageNotAvailableException 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.
getStateCodeName()  : string
Get the name for a status code

Constants

Properties

Methods

__construct()

StorageNotAvailableException constructor.

public __construct([string $message = '' ][, int $code = self::STATUS_ERROR ][, Exception|null $previous = null ]) : mixed
Parameters
$message : string = ''
$code : int = self::STATUS_ERROR
$previous : Exception|null = null
Tags
since
6.0.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

getStateCodeName()

Get the name for a status code

public static getStateCodeName(int $code) : string
Parameters
$code : int
Tags
since
9.0.0
Return values
string

        
On this page

Search results