Update security.md

When the error occurs, it is not explicit, it would be worth adding this snippet documentation.