created function with TypeError
created function with SyntaxError
created function with NameError
created function with AttributeError