ErrorHandler Interfaces, Classes and Traits Collecting Error handler that collects all errors into an array. Throwing Error handler that handles all errors by throwing them.