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 Nov 6, 2024
1 parent c607d3b commit a2489d5
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 a2489d5

Please sign in to comment.