Tailor\Classes\BlueprintErrorData

Overview

BlueprintErrorData wraps information about a blueprint error to be used on the client side.


Protected Properties

protected string $message

message The error message

protected int $line

line The error line

protected int $pos

pos Position of the error in the line


Public Methods

public __construct()

public __construct($message, $line = null, $pos = null): void

public static fromException()

public static fromException($ex): void

public toResponse()

public toResponse(): void

Protected Methods

protected asArray()

protected asArray(): void