WorkOS PHP SDK

ErrorBodyWithConstraintsPropertyErrors
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

Table of Contents

Interfaces

JsonSerializable

Properties

$errors  : array<string|int, ErrorBodyWithConstraintsPropertyError>|null
The list of validation errors.
$message  : string|null
A human-readable error message.

Methods

__construct()  : mixed
fromArray()  : self
jsonSerialize()  : array<string|int, mixed>
toArray()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct([string|null $message = null ][, array<string|int, mixed>|null $errors = null ]) : mixed
Parameters
$message : string|null = null
$errors : array<string|int, mixed>|null = null

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
On this page

Search results