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