Project EiaAboutAbout
GitHubGitHub (opens in a new tab)
  • Introduction
  • Quick start
  • Syntax
    • Basic Syntax
    • Functions
    • Lambdas
    • Try Catch
  • Standard library
    • Standard Classes
    • Standard Methods
  • Classes
  • Examples using Eia
  • Introduction
  • Quick start
  • Syntax
    • Basic Syntax
    • Functions
    • Lambdas
    • Try Catch
      • Throwing an error
      • Catching an error
  • Standard library
    • Standard Classes
    • Standard Methods
  • Classes
  • Examples using Eia
  • About

On This Page

  • Throwing an error
  • Catching an error
Question? Give us feedback → (opens in a new tab)Edit this page
Syntax
Try Catch

Try catch

Eia also has support for throwing and catching simple errors! 👀

Throwing an error

throw "Opps, something went wrong!"

Catching an error

try {
  ...
} catch message {
  println(message)
}
LambdasStandard library

Eia Docs