Changed String.error() to String.throw()