Docs
Types

ErrorDefinition

The shape of a single error entry in an error map.

An ErrorDefinition describes one error code in a map passed to defineErrorMap. Every field is optional, so a code can be declared with nothing but its name.

Prop

Type