24
Reference

Error Handling

Interpret normalized FormForge client errors and map business codes.

The client normalizes backend and network failures into a stable shape.

Common fields

  • status
  • code
  • message
  • fieldErrors
  • businessCode

Typical handling

try {
  await management.createForm(input)
} catch {
  console.error(management.clientError.value)
}

Example business code:

  • CATEGORY_IN_USE