export const isOperationError = (obj: any): obj is OperationError =>
  isErrors(obj) && obj.type === ErrorType.OPERATION;