Closed harjotgill closed 11 months ago
CodeRabbit
This pull request introduces changes to error handling in src/prompts.ts
by including line numbers in error messages, and adds a new Mobile
struct in mobile.go
with methods for simulating mobile device usage. The PR also updates the review guidelines and instructions.
File | Summary |
---|---|
src/prompts.ts |
The format_error function now includes a line_number parameter and modifies the error message to include this line number. This change enhances error tracking and debugging. The review guidelines have been updated to trust developers' use of newer APIs and methods. |
mobile.go |
Introduced a Mobile struct representing a mobile device, with methods to turn on/off the device, simulate usage, and charge the battery. The main function demonstrates these functionalities. |
Summary by CodeRabbit