Exception Management
Try/Catch/Finally
try{
// code to try to execute
} catch( any e ) {
// the any type catches ALL errors from the try above
} catch( myType e ){
// Catch the `myType` only type of exception
} finally {
// this code executes no matter what
}Catch Types
Native Exception Types
Custom Exception Types
Throwing Exceptions
Rethrowing Exceptions
Last updated
Was this helpful?
