Home Reference Source Test
public class | source

MdSeedRunnerError

Extends:

Error → MdSeedRunnerError

MdSeedRunner Error

Constructor Summary

Public Constructor
public

constructor(options: Object)

Creates an MdSeedRunnerError.

Member Summary

Public Members
public

Error name.

public

Custom payload object.

public

Error type (one of the MdSeedRunner.operations).

Public Constructors

public constructor(options: Object) source

Creates an MdSeedRunnerError.

Params:

NameTypeAttributeDescription
options Object
  • optional
  • default: {}

options

options.type String
  • optional
  • default: ''

The error type key (MdSeedRunner.operations).

options.payload Object
  • optional
  • default: {}

A custom payload object.

options.error Error
  • optional
  • default: {}

Error object.

Public Members

public name: String source

Error name.

public payload: Object source

Custom payload object.

public type: String source

Error type (one of the MdSeedRunner.operations).