Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • Parameters

    • message: string
    • validationErrors: ConformValidationErrors

      Contains a flattened representation of the keys containing errors.

      .catch((err: ConformDeepError) => {
        console.log(err.validationErrors) {'stats.age': Error(...), 'stats.height': Error(...)}
      })

    Returns ConformError

Properties

message

message: string

name

name: string

Optional stack

stack: string

validationErrors

validationErrors: ConformValidationErrors

Contains a flattened representation of the keys containing errors.

.catch((err: ConformDeepError) => {
  console.log(err.validationErrors) {'stats.age': Error(...), 'stats.height': Error(...)}
})

Static Error

Error: ErrorConstructor

Legend

  • Constructor
  • Property
  • Inherited property
  • Static property

Generated using TypeDoc