phpDocumentor

InvalidThemeJsonException extends TranslatedException
in package

Class TranslatedException

Table of Contents

$errorMessages  : mixed
$httpStatusCode  : mixed
__construct()  : mixed
TranslatedException constructor.
httpStatusCode()  : int
withHttpStatusCode()  : $this

Properties

$errorMessages

protected mixed $errorMessages = ['UPLOADED_THEME_INVALID' => 'StyleEdit.exceptions.uploaded-theme-invalid', 'DUPLICATED_THEME_ID' => 'StyleEdit.exceptions.duplicated-theme-id', 'INVALID_PARENT_THEME_ID' => 'StyleEdit.exceptions.invalid-parent-theme-id', 'INVALID_PROPERTY_NAME_MISSING' => 'StyleEdit.exceptions.invalid-property-name-missing', 'INVALID_PROPERTY_TYPE_MISSING' => 'StyleEdit.exceptions.invalid-property-type-missing', 'INVALID_PROPERTY_VALUE_MISSING' => 'StyleEdit.exceptions.invalid-property-value-missing', 'THEME_WITHOUT_CONFIGURATION' => 'StyleEdit.exceptions.theme-without-configuration', 'DUPLICATED_CHILD_ID' => 'StyleEdit.exceptions.duplicated-child-id', 'INVALID_COMPONENT_ID' => 'StyleEdit.exceptions.invalid-component-id', 'INVALID_THEME_ID' => 'StyleEdit.exceptions.invalid-theme-id', 'INVALID_COMPONENT' => 'StyleEdit.exceptions.invalid-component', 'COMPONENT_TYPE_NOT_SUPPLIED' => 'StyleEdit.exceptions.component-type-not-supplied', 'NOT_REGISTERED_CLASS' => 'StyleEdit.exceptions.not-registered-class', 'THEME_UPLOAD_MISSING_FILE' => 'StyleEdit.exceptions.theme-upload-missing-file', 'INVALID_FILE_TYPE' => 'StyleEdit.exceptions.invalid-file-type', 'INVALID_FILE_CONTENT' => 'StyleEdit.exceptions.invalid-file-content', 'FILE_CANT_BE_READ' => 'StyleEdit.exceptions.file-cant-be-read', 'INSUFFICIENT_PERMISSIONS' => 'StyleEdit.exceptions.insufficient-permissions', 'UNAUTHORIZED' => 'StyleEdit.exceptions.unauthorized']

Methods

__construct()

TranslatedException constructor.

public __construct([array<string|int, mixed> $params = [] ][, Throwable $previous = null ]) : mixed
Parameters
$params : array<string|int, mixed> = []
$previous : Throwable = null
Return values
mixed

withHttpStatusCode()

public withHttpStatusCode( $status) : $this
Parameters
$status :
Return values
$this

Search results