error method

String error()

Implementation

String error() {
  if(value.trim().startsWith(errorCodePrefix)) {
    return value.trim().substring(code().length).trim();
  }
  return value.trim();
}