Random error handling.