Add gateway exceptions to api docs.