Error and its subclasses separate different types of error is that can occur in the SuperCollider program into distinct classes, so that they can be reported differently to the user.
Anywhere that an error must be reported to the user and execution must stop, an error object must be created and thrown.
For backward compatibility, .die()
creates the error for you.
Throwing an error object gives the caller the opportunity to catch, and possibly recover from, the error. See the Exception help file for more information about this.
The following error classes exist in the main library.
The exact inheritance tree looks like this: