Documentation

HomeBAMLCLICloudTutorialsExamples

BAML documentation

  • Overview
  • Get started
  • Book
    • 3. Common programming concepts
    • 8. Handle errors
    • 11. Interfaces
    • 12. Run work concurrently
  • Language reference
    • Functions
  • Standard packages
  • Language bridges
    • TypeScript

Products

  • BAML CLI
  • Cloud

Resources

  • Tutorials
    • Structured extraction
  • Examples
    • Classify support tickets
    • Images and vision models
HomeBAMLCLICloudTutorialsExamples
Start

Sections

  • Overview
  • Get started
  • Book
    • 3. Common programming concepts
    • 8. Handle errors
    • 11. Interfaces
    • 12. Run work concurrently
  • Language reference
    • Functions
  • Standard packages
  • Language bridges
    • TypeScript

Products

  • BAML CLI
  • Cloud

Resources

  • Tutorials
    • Structured extraction
  • Examples
    • Classify support tickets
    • Images and vision models
BAMLStandard packagesv0.20.1bamlpanics

baml.panics

namespace in the baml package.

Reference version

Contents

  • baml.panics.AllocFailure class
  • baml.panics.AssertionFailed class
  • baml.panics.Cancelled class
  • baml.panics.DivisionByZero class
  • baml.panics.Exit class
  • baml.panics.HostContractViolation class
  • baml.panics.HostUnavailable class
  • baml.panics.IndexOutOfBounds class
  • baml.panics.IntegerOverflow class
  • baml.panics.InvalidFieldAccess class
  • baml.panics.MapKeyNotFound class
  • baml.panics.NegativeBitShift class
  • baml.panics.Panic type_alias
  • baml.panics.SdkPanic class
  • baml.panics.StackOverflow class
  • baml.panics.Unreachable class
  • baml.panics.UserPanic class

On this page

  • Contents

Build with BAML

Start with the language guide and a checked BAML function.

Continue into generated package and CLI references for the exact selected toolchain.

Get started
Developer documentation for BAML and Boundary products. Source available on GitHub. View release notes