# Exception Classes

## class ZlibException

```cangjie
public class ZlibException <: Exception {
    public init(message: String)
}
```

Function: The exception class for the zlib package.

Parent Type:

- Exception

### init(String)

```cangjie
public init(message: String)
```

Function: Creates a [ZlibException](zlib_package_exceptions.md#class-zlibexception) instance with the specified error message.

Parameters:

- message: String - The exception message.