build_error


Description:

public static ApplyError build_error (string message, string description)

Builds an error containing serialized structured error data.

The returned error has code ApplyError.BASE; its message is the JSON representation of ApplyErrorData.

Parameters:

message

the short error title

description

the detailed error description

Returns:

a new structured apply error

See also:

ApplyErrorData