PLA-582 adding error codes to documentation