StorageNotAvailableException¶
-
class
OCP\Files\
StorageNotAvailableException
¶ - Storage is temporarily not available
Source: lib/public/Files/StorageNotAvailableException.php#47 Parent: OC\HintException
Constants¶
-
STATUS_SUCCESS = 0
Source: lib/public/Files/StorageNotAvailableException.php#48
-
STATUS_ERROR = 1
Source: lib/public/Files/StorageNotAvailableException.php#49
-
STATUS_INDETERMINATE = 2
Source: lib/public/Files/StorageNotAvailableException.php#50
-
STATUS_INCOMPLETE_CONF = 3
Source: lib/public/Files/StorageNotAvailableException.php#51
-
STATUS_UNAUTHORIZED = 4
Source: lib/public/Files/StorageNotAvailableException.php#52
-
STATUS_TIMEOUT = 5
Source: lib/public/Files/StorageNotAvailableException.php#53
-
STATUS_NETWORK_ERROR = 6
Source: lib/public/Files/StorageNotAvailableException.php#54
Methods¶
-
public
OCP\Files\StorageNotAvailableException::
__construct
($message="", $code=self::STATUS_ERROR, $previous=null)¶ - StorageNotAvailableException constructor.
Source: Parameters: - $message (string)
- $code (int)
- $previous (
Exception
| null)
Since: 6.0.0
-
public static
OCP\Files\StorageNotAvailableException::
getStateCodeName
($code)¶ - Get the name for a status code
Source: Parameters: - $code (int)
Returns: string
Since: 9.0.0