Add support for reporting custom errors (using Strings instead of throwables)