Nextcloud PHP API (stable18)

StorageAuthException extends StorageNotAvailableException

Storage authentication exception

Tags
since
9.0.0

Table of Contents

STATUS_ERROR  = 1
STATUS_INCOMPLETE_CONF  = 3
STATUS_INDETERMINATE  = 2
STATUS_NETWORK_ERROR  = 6
STATUS_SUCCESS  = 0
STATUS_TIMEOUT  = 5
STATUS_UNAUTHORIZED  = 4
__construct()  : mixed
StorageAuthException constructor.
getStateCodeName()  : string
Get the name for a status code

Constants

Methods

__construct()

StorageAuthException constructor.

public __construct([string $message = '' ][, Exception|null $previous = null ]) : mixed
Parameters
$message : string = ''
$previous : Exception|null = null
Tags
since
9.0.0
Return values
mixed

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

Search results