Altered basket operations, fixed exception handling

- Added statuses for basket operations
- Fixed example error
- Fixed exception handling