Throw exceptions for testing. Types = [base, numeric, type, variable, 404]