Home Reference Source
import ModalError from './ui/dialogs/modalerror.js'
public class | source

ModalError

Opens a modal dialog and shows info about given exception

options:

  • title - will replace title
  • text
  • codeText - will be shown as monospace font
  • op: will add an "edit op" button
  • opname: will show opname
  • exception: will show stacktrace and exception message. etc.

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

opDoc: *

public

opName: string

Private Members
private

_dialog: *

private

Method Summary

Public Methods
public

close()

public

getHtml(): *

Private Methods
private

_getFileSnippet(url: *, line: *, cb: *)

Public Constructors

public constructor() source

Public Members

public opDoc: * source

public opName: string source

Private Members

private _dialog: * source

private _options: * source

Public Methods

public close() source

public getHtml(): * source

Return:

*

Private Methods

private _getFileSnippet(url: *, line: *, cb: *) source

Params:

NameTypeAttributeDescription
url *
line *
cb *