#include <tdslite/detail/token/tds_info_token.hpp>
|
| auto | is_error () const noexcept -> bool |
| | Check whether the token is an ERROR token or not.
|
| |
| auto | is_info () const noexcept -> bool |
| | Check whether the token is an INFO token or not.
|
| |
| auto | is_fatal () const noexcept -> bool |
| | Check whether the error is fatal: severity 20 and above (e.g.
|
| |
◆ is_error()
| auto tdsl::tds_info_token::is_error |
( |
| ) |
const -> bool |
|
inlinenoexcept |
Check whether the token is an ERROR token or not.
- Returns
- true Token is an ERROR token
-
false Token is an INFO token
◆ is_info()
| auto tdsl::tds_info_token::is_info |
( |
| ) |
const -> bool |
|
inlinenoexcept |
Check whether the token is an INFO token or not.
- Returns
- true Token is an INFO token
-
false Token is an ERROR token
◆ is_fatal()
| auto tdsl::tds_info_token::is_fatal |
( |
| ) |
const -> bool |
|
inlinenoexcept |
Check whether the error is fatal: severity 20 and above (e.g.
the session was killed). SQL Server closes the connection after it.
◆ number
| tdsl::uint32_t tdsl::tds_info_token::number = {0} |
◆ state
| tdsl::uint8_t tdsl::tds_info_token::state = {0} |
◆ class_
| tdsl::uint8_t tdsl::tds_info_token::class_ = {0} |
◆ line_number
| tdsl::uint16_t tdsl::tds_info_token::line_number = {0} |
◆ msgtext
◆ server_name
◆ proc_name
The documentation for this struct was generated from the following file: