Updates in exceptions

- Added the Error::Value and Error::Limit functions.
- Updated the LimitError to store floats instead of uints.
- Updates in example-related code.