Options
All
  • Public
  • Public/Protected
  • All
Menu

The MongoBackError that happens because of an error with mongoexport

Hierarchy

Index

Constructors

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

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

    Returns MongoBackExportingError

Properties

collection: null | string

The collection that should have been exported

command: null | string

The mongoexport command

db: null | string

The database whose collection should have been exported

log: null | string

The mongoexport log

message: string
name: string
stack?: string
triggerError: null | Error

The error that triggered the problem

DEFAULT_MESSAGE: "Error in exporting collection" = 'Error in exporting collection'
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Type declaration

stackTraceLimit: number

Methods

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

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc