Options
All
  • Public
  • Public/Protected
  • All
Menu

The MongoBackError that happens because of an error with mongoexport

Hierarchy

Index

Constructors

constructor

  • new ExportingError(message?: string, db?: string, collection?: string, command?: string, log?: string, triggerError?: Error): ExportingError
  • Parameters

    • Optional message: string
    • Optional db: string
    • Optional collection: string
    • Optional command: string
    • Optional log: string
    • Optional triggerError: Error

    Returns ExportingError

Properties

__proto__

__proto__: Error

collection

collection: null | string

The collection that should have been exported

command

command: null | string

The mongoexport command

db

db: null | string

The database whose collection should have been exported

log

log: null | string

The mongoexport log

message

message: string

name

name: string

Optional prepareStackTrace

prepareStackTrace: undefined | ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

see

https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces

Optional stack

stack: undefined | string

stackTraceLimit

stackTraceLimit: number

triggerError

triggerError: null | Error

The error that triggered the problem

Private Readonly Static DEFAULT_MESSAGE

DEFAULT_MESSAGE: "Error in exporting collection" = 'Error in exporting collection'

Methods

captureStackTrace

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc