From 6ae7f63d001cb61ba18ae81e2b1e5330d5babbe3 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Wed, 9 Jul 2014 08:18:09 -0500 Subject: [PATCH] Remove UnexpectedColumnCountError --- conn.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/conn.go b/conn.go index 8d27b84a..56ac9e70 100644 --- a/conn.go +++ b/conn.go @@ -95,17 +95,6 @@ func (e NotSingleRowError) Error() string { return fmt.Sprintf("Expected to find 1 row exactly, instead found %d", e.RowCount) } -// UnexpectedColumnCountError is returned when an unexpected number of columns is -// returned from a Select. -type UnexpectedColumnCountError struct { - ExpectedCount int16 - ActualCount int16 -} - -func (e UnexpectedColumnCountError) Error() string { - return fmt.Sprintf("Expected result to have %d column(s), instead it has %d", e.ExpectedCount, e.ActualCount) -} - type ProtocolError string func (e ProtocolError) Error() string {