@wpkernel/core / serializeWPKernelError
Function: serializeWPKernelError()
ts
function serializeWPKernelError(error): SerializedError;Serialize WPKernelErrors to the canonical JSON shape.
Parameters
error
WPKernelError instance to serialize.
