refactor: handle unsupported shape types explicitly
This commit is contained in:
parent
d60ce20305
commit
6e775e20bb
1 changed files with 1 additions and 1 deletions
|
@ -385,6 +385,6 @@ fn writeMemberJson(params: WriteMemberJsonParams, writer: std.io.AnyWriter) anye
|
|||
.unit => try writeScalarJson("unit", params, writer),
|
||||
.byte => try writeScalarJson("byte", params, writer),
|
||||
.short => try writeScalarJson("short", params, writer),
|
||||
else => std.debug.panic("Unexpected shape type: {}", .{shape}),
|
||||
.service, .resource, .operation, .member, .set => std.debug.panic("Shape type not supported: {}", .{shape}),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue