mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-27 02:17:36 -04:00
handle invalid config
This commit is contained in:
parent
d8baa21e4e
commit
085fbb4769
4 changed files with 6 additions and 1 deletions
|
@ -28,6 +28,8 @@ func on_gate_error(code: GateEvents.GateError) -> void:
|
|||
match code:
|
||||
GateEvents.GateError.NOT_FOUND:
|
||||
set_text("Gate not found")
|
||||
GateEvents.GateError.INVALID_CONFIG:
|
||||
set_text("Invalid gate config")
|
||||
GateEvents.GateError.MISSING_PACK, GateEvents.GateError.MISSING_LIBS:
|
||||
set_text("Cannot load gate resources")
|
||||
_:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue