Error (error handling) The presence of some element of an operation that does not satisfy the requirements of the operation. An error when encountered causes failure, which in turn raises an exception.