Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BPFError

Hierarchy

  • Error
    • BPFError

Index

Constructors

  • new BPFError(errno: number, operation: string, count?: number): BPFError
  • Parameters

    • errno: number
    • operation: string
    • Optional count: number

    Returns BPFError

Properties

code?: string
count?: number
errno: number
message: string
name: string
operation: string
stack?: string
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

  • getCode(errno: number): string

Generated using TypeDoc