InvalidInput is unused, so remove it for now

This commit is contained in:
Mark Haines 2017-02-03 11:43:49 +00:00
parent eda75719b7
commit 72dc6de928
2 changed files with 1 additions and 15 deletions

View file

@ -10,7 +10,7 @@ import (
// A Database is used to store room events and stream offsets.
type Database struct {
statements statements
db *sql.DB
db *sql.DB
}
// Open a postgres database.

View file

@ -8,17 +8,3 @@ type PartitionOffset struct {
// The offset into the partition.
Offset int64
}
// An InvalidInput is a problem that was encountered when processing input.
type InvalidInput struct {
// The topic the input was read from.
Topic string
// The partition the input was read from.
Partition int32
// The offset in the partition the input was read from.
Offset int64
// The value that errored.
Value []byte
// The error itself
Error string
}