withSecondary method

OdbcError withSecondary(
  1. OdbcError secondary
)

Implementation

OdbcError withSecondary(OdbcError secondary) => withDetails(
      details.copyWith(
        secondaryErrors: [...details.secondaryErrors, secondary],
      ),
    );