Padloc Logo Docs & Resources

Class: ErrorMessage

messenger.ErrorMessage

Hierarchy

  • Message<{ code: string ; eventId: string ; message: string ; time: string }>

    ErrorMessage

Constructors

constructor

new ErrorMessage(data)

Parameters

Name Type
data Object
data.code string
data.eventId string
data.message string
data.time string

Inherited from

Message.constructor

Defined in

core/src/messenger.ts:13

Properties

data

Readonly data: Object

Type declaration

Name Type
code string
eventId string
message string
time string

Inherited from

Message.data


template

template: string = "error"

Template name

Overrides

Message.template

Defined in

core/src/messenger.ts:64

Accessors

title

get title(): string

Returns

string

Overrides

Message.title

Defined in

core/src/messenger.ts:66