↳
In-reply-to
»
Question to all you Gophers out there: How do you deal with custom errors that include more information and different kinds of matching them?
⤋ Read More
You can have Error return just “permission not allowed” if the array is empty. It would print the same as the first.