ParseFileOptions


interface ParseFileOptions {
  validators?: FileValidator[]
  errorHttpStatusCode?: ErrorHttpStatusCode
  exceptionFactory?: (error: string) => any
  fileIsRequired?: boolean
}

Properties

Property Description
validators?: FileValidator[]
errorHttpStatusCode?: ErrorHttpStatusCode
exceptionFactory?: (error: string) => any
fileIsRequired?: boolean

Defines if file parameter is required.