mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
If `invite_as` is passed as a number outside the range of a PostgreSQL `SMALLINT` field, the database throws an exception. Move this exception to the glass as a validation error to allow better client-side error handling and reduce database round-trips.
7.7 KiB
7.7 KiB