Error class.