You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a potential feature request: what if you could define some type of Error Handling System for each world?
All of the ECS examples that I'm seeing basically have no comprehensive error handling. You can't exactly ship code without a way to log and handle potential errors.
The text was updated successfully, but these errors were encountered:
What approaches does everyone use for handling errors?
Do you simply wrap the code in each system's process functions to catch exceptions?
protected void process(int e) {
try {
return lang.get(resource);
} catch (Exception ex) {
ex.printStackTrace();
return null;
}
}
As a potential feature request: what if you could define some type of Error Handling System for each world?
All of the ECS examples that I'm seeing basically have no comprehensive error handling. You can't exactly ship code without a way to log and handle potential errors.
The text was updated successfully, but these errors were encountered: