Documentation

HomeBAMLCLICloudTutorialsExamples

BAML documentation

  • Overview
  • Get started
  • Book
    • 3. Common programming concepts
    • 8. Handle errors
    • 11. Interfaces
    • 12. Run work concurrently
    • 22. Patterns, matching, and destructuring
  • 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
    • 22. Patterns, matching, and destructuring
  • 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.18.1-nightly.20260909.abamlpanics

baml.panics

namespace in the baml package.

Reference version

Contents

  • baml.panics.AllocFailure class
  • baml.panics.AllocFailure$stream class
  • baml.panics.AssertionFailed class
  • baml.panics.AssertionFailed$stream class
  • baml.panics.Cancelled class
  • baml.panics.Cancelled$stream class
  • baml.panics.DivisionByZero class
  • baml.panics.DivisionByZero$stream class
  • baml.panics.Exit class
  • baml.panics.Exit$stream class
  • baml.panics.HostContractViolation class
  • baml.panics.HostContractViolation$stream class
  • baml.panics.HostUnavailable class
  • baml.panics.HostUnavailable$stream class
  • baml.panics.IndexOutOfBounds class
  • baml.panics.IndexOutOfBounds$stream class
  • baml.panics.IntegerOverflow class
  • baml.panics.IntegerOverflow$stream class
  • baml.panics.InvalidFieldAccess class
  • baml.panics.InvalidFieldAccess$stream class
  • baml.panics.MapKeyNotFound class
  • baml.panics.MapKeyNotFound$stream class
  • baml.panics.NegativeBitShift class
  • baml.panics.NegativeBitShift$stream class
  • baml.panics.Panic type_alias
  • baml.panics.Panic$stream type_alias
  • baml.panics.SdkPanic class
  • baml.panics.SdkPanic$stream class
  • baml.panics.StackOverflow class
  • baml.panics.StackOverflow$stream class
  • baml.panics.Unreachable class
  • baml.panics.Unreachable$stream class
  • baml.panics.UserPanic class
  • baml.panics.UserPanic$stream 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