Added exception subclasses for new error codes. Return ServiceError when code is unknown.