Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions include/crow/crow.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ class crow
/*!
* @brief create a client
*
* @param[in] dsn the DNS string
* @param[in] dsn the DSN string
* @param[in] context an optional attributes object
* @param[in] sample_rate the sample rate (0.0 .. 1.0, default: 1.0)
* @param[in] install_handlers whether to install a termination handler (default: off)
*
* @throw std::invalid_argument if DNS string is invalid
* @throw std::invalid_argument if DSN string is invalid
* @throw std::invalid_argument if context object contains invalid key
*
* @note If @a dns is empty, the client is disabled.
* @note If @a dsn is empty, the client is disabled.
*
* @note
* In case @a install_handlers is set to `true` (default), the currently
Expand Down
2 changes: 1 addition & 1 deletion src/crow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ crow::crow(const std::string& dsn,
}
else
{
throw std::invalid_argument("DNS " + dsn + " is invalid");
throw std::invalid_argument("DSN " + dsn + " is invalid");
}
}

Expand Down