Bitrix API

FileError extends Error

Table of Contents

Constants

ACCESS_ERROR  = 'FILE_ACCESS_ERROR'
COPY_ERROR  = 'COPY_ERROR'
CREATE_SYMLINK  = 'CREATE_SYMLINK_ERROR'
DISK_NOT_INSTALLED  = 'DISK_NOT_INSTALLED'
FOLDER_NOT_FOUND  = 'FOLDER_NOT_FOUND'
NOT_FOUND  = 'FILE_NOT_FOUND'
SAVE_BEFORE_MIGRATION_ERROR  = 'FILE_SAVE_BEFORE_MIGRATION_ERROR'
STORAGE_NOT_FOUND  = 'STORAGE_NOT_FOUND'
UNKNOWN_FILE_SUBTYPE  = 'UNKNOWN_FILE_SUBTYPE'

Methods

__construct()  : mixed
getDescription()  : string
setDescription()  : void

Constants

ACCESS_ERROR

public mixed ACCESS_ERROR = 'FILE_ACCESS_ERROR'

COPY_ERROR

public mixed COPY_ERROR = 'COPY_ERROR'
public mixed CREATE_SYMLINK = 'CREATE_SYMLINK_ERROR'

DISK_NOT_INSTALLED

public mixed DISK_NOT_INSTALLED = 'DISK_NOT_INSTALLED'

FOLDER_NOT_FOUND

public mixed FOLDER_NOT_FOUND = 'FOLDER_NOT_FOUND'

NOT_FOUND

public mixed NOT_FOUND = 'FILE_NOT_FOUND'

SAVE_BEFORE_MIGRATION_ERROR

public mixed SAVE_BEFORE_MIGRATION_ERROR = 'FILE_SAVE_BEFORE_MIGRATION_ERROR'

STORAGE_NOT_FOUND

public mixed STORAGE_NOT_FOUND = 'STORAGE_NOT_FOUND'

UNKNOWN_FILE_SUBTYPE

public mixed UNKNOWN_FILE_SUBTYPE = 'UNKNOWN_FILE_SUBTYPE'

Methods

__construct()

public __construct(string $code, mixed ...$args) : mixed
Parameters
$code : string
$args : mixed

getDescription()

public getDescription() : string
Return values
string

setDescription()

public setDescription(string $description) : void
Parameters
$description : string

        
On this page

Search results