- .put(ErrorTag.operation_failed.name(),
- "Datastore is not present. Use 'get-config' or 'edit-config' before triggering 'operations' operation");
- throw new DocumentedException(e.getMessage(), e, ErrorType.application, ErrorTag.operation_failed,
- ErrorSeverity.error, errorInfo);
+ .put(ErrorTag.OPERATION_FAILED.name(),
+ "Datastore is not present. "
+ + "Use 'get-config' or 'edit-config' before triggering 'operations' operation");
+ throw new DocumentedException(e.getMessage(), e, ErrorType.APPLICATION, ErrorTag.OPERATION_FAILED,
+ ErrorSeverity.ERROR, errorInfo);