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

Static Method Summary

Static Public Methods
public static

deserialise(stringifiedError: string): E

public static

deserialiseFromStackTrace(stack: string): *

public static

serialise(error: Error): string

Static Public Methods

public static deserialise(stringifiedError: string): E source

Params:

NameTypeAttributeDescription
stringifiedError string

Returns:

E

public static deserialiseFromStackTrace(stack: string): * source

Params:

NameTypeAttributeDescription
stack string

Returns:

*

public static serialise(error: Error): string source

Params:

NameTypeAttributeDescription
error Error

Returns:

string