Home Manual Reference Source Test Repository
import TimeoutError from 'p2pboardgameapi/src/TimeoutError.js'
public class | source

TimeoutError

Extends:

Error → TimeoutError

Error if a timeout occured

Constructor Summary

Public Constructor
public

constructor(message: string)

Instantiates the error

Member Summary

Public Members
public

The error message

public

The error name

Public Constructors

public constructor(message: string) source

Instantiates the error

Params:

NameTypeAttributeDescription
message string

The error message

Public Members

public message: string source

The error message

public name: string source

The error name