refactored error struct, introduced likely_error_to_string