From 2c092d2613707bb5c41d58e235c99fa6ec60c1fd Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 4 Jul 2022 10:05:11 +0200 Subject: [PATCH] lib/zlib/GzipOutputStream: add exception API docs --- src/lib/zlib/GzipOutputStream.hxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/zlib/GzipOutputStream.hxx b/src/lib/zlib/GzipOutputStream.hxx index 0b61a9380..88b465c95 100644 --- a/src/lib/zlib/GzipOutputStream.hxx +++ b/src/lib/zlib/GzipOutputStream.hxx @@ -48,6 +48,8 @@ class GzipOutputStream final : public OutputStream { public: /** * Construct the filter. + * + * Throws #ZlibError on error. */ explicit GzipOutputStream(OutputStream &_next); ~GzipOutputStream(); @@ -55,6 +57,8 @@ public: /** * Finish the file and write all data remaining in zlib's * output buffer. + * + * Throws on error. */ void Finish();