6.1. Raising exceptions

Golo provides 2 predefined functions for raising exceptions:

Throwing an exception is thus as easy as:

if somethingIsWrong() {
  raise("Woops!")
}