Skip to content

Commit

Permalink
chore: remove unused error
Browse files Browse the repository at this point in the history
  • Loading branch information
paomian committed Oct 31, 2024
1 parent c650c61 commit e4ee0f9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/servers/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -527,12 +527,6 @@ pub enum Error {
location: Location,
},

#[snafu(display("Missing table name"))]
MissingTableName {
#[snafu(implicit)]
location: Location,
},

#[snafu(display("Invalid table name"))]
InvalidTableName {
#[snafu(source)]
Expand Down Expand Up @@ -635,7 +629,6 @@ impl ErrorExt for Error {
| TimestampOverflow { .. }
| OpenTelemetryLog { .. }
| UnsupportedJsonDataTypeForTag { .. }
| MissingTableName { .. }
| InvalidTableName { .. } => StatusCode::InvalidArguments,

Catalog { source, .. } => source.status_code(),
Expand Down

0 comments on commit e4ee0f9

Please sign in to comment.