Options
All
  • Public
  • Public/Protected
  • All
Menu

An error that just requires a File to be passed as the first argument.

remarks

@since 2.9.0

Hierarchy

Index

Constructors

constructor

Properties

files

files: readonly File[]

key

key: string

A unique key generated by nanoid that can be used as a React key

message

message: string

name

name: string

Optional reason

reason?: string

Optional stack

stack?: string

Static Optional prepareStackTrace

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

Type declaration

Static stackTraceLimit

stackTraceLimit: number

Methods

Static 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