Comments (3)
Hi, @SebastianStehle!
I agree with your proposal to fix and improve the documentation here but I think it's part of a bigger problem that I, on purpose, didn't handle in the library so far: exception handling.
You probably noticed wherever something can go wrong in the library, if it happens there's no handling at all. So, I'd suggest renaming this issue to something like "Improve exception handling" and then we can include items like:
- Handling unexpected
null
results - Handling invalid parameters (like reading beyond the valid indexes of an array)
- etc.
However, I don't intend to do that in a "local" way as it's suggested here or, for example, by adding a bunch of if
statements throughout the code, I'd like to find a global approach to throw exceptions keeping the Rust stack trace and without crashing the process, for example.
So, if you agree, let's try to make this scope bigger and investigate how to handle this.
from ydotnet.
Also, please keep in mind that the priority of this kind of task is low for now because I'm still improving the features and memory management.
In the best case, for now, if there are no programming errors, the exceptions shouldn't happen very often.
from ydotnet.
Hi, @SebastianStehle!
Since there are many issues in a row that could be closed after #55 (I think this is the 4th or 5th already), I'll just go ahead and close them for now.
If you notice there's anything else pending to do, please feel free to re-open any of them or just open new issues so we can start discussions with a clean slate.
from ydotnet.
Related Issues (20)
- NuGet handle HOT 3
- Fix Publish workflow HOT 1
- Integrate new method ytransaction_alive HOT 5
- Demo client project problems HOT 3
- Improve the README
- Update to .NET 8
- Fix unit tests
- WebSocket Client HOT 1
- Use `y-crdt/y-crdt` to build the Rust binaries
- Unable to load shared library 'yrs' or one of its dependencies. HOT 8
- Is there any way to use SignalR? HOT 5
- Support for Weak Types?
- How would you persist the data in SQL Server? HOT 3
- Initial sync not working on latest version of the codebase. HOT 2
- v0.2.13 release? HOT 1
- Exception calling Get* on top level field without first defining it HOT 7
- YDotnet.Extensions: Exception converting Map to strongly typed model HOT 1
- Exception in Rust code bringing the entire dotnet server down HOT 5
- YDotNet stops persisting to storage after 1st invalidation HOT 36
- Update core bindings to Yrs v0.18 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ydotnet.