Fix doc example for exception/1

* Use value instead of opts to generate message
* Remove extra %
* Use %MyAppError instead of %MyException