TTLock is a global provider of solutions for smart locks. We provide PCBA and softwares for lock manufactures and end users. We provide open API/SDK for developers. With these APIs/SDKs, you can develop your own applications to manage smart locks. The SDK here is for mobile app to communicate with locks via bluetooth.
MIT License
13
stars
12
forks
source link
Mapping TTLock Error Cases to Custom Error Cases for Logging #41
We are in the process of mapping TTLock error cases to custom error enums for each operation, and we need to categorize the errors based on function name to ensure proper logging. Could you please guide us on which function might throw which specific errors?
This will help us log relevant and accurate errors for each operation.
Here are the TTLock functions that we're working with:
We are in the process of mapping TTLock error cases to custom error enums for each operation, and we need to categorize the errors based on function name to ensure proper logging. Could you please guide us on which function might throw which specific errors?
This will help us log relevant and accurate errors for each operation.
Here are the TTLock functions that we're working with:
Error Types: Here are the error types that TTLock might throw:
Please lets us know if we have missed other TTLock error enums.
We would appreciate your guidance on categorising these errors for each operation.
Thank you!