---
name: "sasl_errdetail"
section: "3"
platform: "linux"
package: "libsasl2-dev"
version: "2.1.28+dfsg1-9"
release: "Debian 13 (Trixie)"
platforms: ["linux", "macos"]
url: "https://new.carta.tech/sasl_errdetail"
---

# sasl\_errdetail(3)

Cyrus SASL documentation

## NAME

sasl\_errdetail - Cyrus SASL documentation

## SYNOPSIS

```
#include <sasl/sasl.h>
const char *sasl_errdetail( sasl_conn_t *conn );
```

## DESCRIPTION

- **const char \*sasl\_errdetail(*sasl\_conn\_t* \*conn);**

  **sasl\_errdetail** provides more  detailed  information  about the  most  recent  error  to occur, beyond the information contained in the SASL result code.

  - **Parameters**

    - •

      **conn** – the SASL connection context to inquire about.

## RETURN VALUE

Returns the string describing the error that occurred,  or NULL  if  no  error has  occurred,  or there was an error retrieving it.

## SEE ALSO

*RFC 4422*,:saslman:*[sasl(3)](/sasl/3.md)*

## AUTHOR

The Cyrus Team

## COPYRIGHT

1993-2016, The Cyrus Team
