Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "core/_errors"

Index

Variables

Const _DateValidatorArgsErrorMsg

_DateValidatorArgsErrorMsg: string = _throwNewErrorMsg("Required args","isValidDate()","You must include either no args or an array with either a 'to date' a 'from date' or both as args.\n" +"See https://joegasewicz.github.io/react-bare-forms for more details.")

Const _isFieldEmptyErrorMsg

_isFieldEmptyErrorMsg: string = _throwNewErrorMsg("Function","isFieldEmpty()","Missing argument: minLength (number)")

Const _noContextError

_noContextError: string = _throwNewErrorMsg("Required Props","context","You must pass in a context prop. Class components use 'state' " +"& functional components must use useState hook. See https://joegasewicz.github.io/react-bare-forms/modules/_form_.html")

Functions

Private Const _throwNewErrorMsg

  • _throwNewErrorMsg(type: string, name: string, message: string): string

Generated using TypeDoc