mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 08:12:37 +01:00
ircd: Fix comment.
This commit is contained in:
parent
edcd95cd8f
commit
d83ea848da
1 changed files with 6 additions and 6 deletions
|
@ -139,14 +139,14 @@ struct name \
|
|||
} \
|
||||
};
|
||||
|
||||
/// Root error exception type. Inherit from this.
|
||||
/// List your own exception somewhere else (unless you're overhauling libircd).
|
||||
/// example, in your namespace:
|
||||
///
|
||||
/// IRCD_EXCEPTION(ircd::error, error)
|
||||
///
|
||||
namespace ircd
|
||||
{
|
||||
/// Root error exception type. Inherit from this.
|
||||
/// List your own exception somewhere else (unless you're overhauling libircd).
|
||||
/// example, in your namespace:
|
||||
///
|
||||
/// IRCD_EXCEPTION(ircd::error, error)
|
||||
///
|
||||
IRCD_EXCEPTION(exception, error) // throw ircd::error("something bad")
|
||||
IRCD_EXCEPTION(error, user_error) // throw ircd::user_error("something silly")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue