Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page 175: The text refers to a non-existant exception type named "out_of_bounds". #82

Closed
WraithGlade opened this issue Dec 29, 2019 · 1 comment

Comments

@WraithGlade
Copy link

@WraithGlade WraithGlade commented Dec 29, 2019

The correct name of the intended exception is "out_of_range".

The text that contains the error is as follows:

The get function accepts a reference to an int array of length 10 ➊ and an index to extract ➋. If index is out of bounds, it throws an out_of_bounds exception ➌; otherwise, it returns a reference to the corresponding element ➍.

@JLospinoso

This comment has been minimized.

Copy link
Owner

@JLospinoso JLospinoso commented Jan 1, 2020

Thanks, @WraithGlade!

@JLospinoso JLospinoso closed this in 3f90516 Jan 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.