import {ErrorSerialiser} from '@serenity-js/core/lib/io'
public class | source

Static Method Summary

Static Public Methods
public static

deserialise(serialisedError: SerialisedError): E

public static

deserialiseFromStackTrace(stack: string): *

public static

serialise(error: Error): SerialisedError

Static Public Methods

public static deserialise(serialisedError: SerialisedError): E source

Params:

NameTypeAttributeDescription
serialisedError SerialisedError

Returns:

E

public static deserialiseFromStackTrace(stack: string): * source

Params:

NameTypeAttributeDescription
stack string

Returns:

*

public static serialise(error: Error): SerialisedError source

Params:

NameTypeAttributeDescription
error Error

Returns:

SerialisedError