Skip to content

Commit e013435

Browse files
sync docs with code
1 parent 3508e73 commit e013435

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

man/data.table-condition-classes.Rd

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,21 @@
55
\code{data.table} provides specific condition classes for common operations, making it easier to handle conditions programmatically. This is particularly useful when writing robust code or packages that use \code{data.table}. Relying on the exact text of condition messages is fragile (it is not uncommon to change the wording slightly, or for the user's session not to be in English); prefer using the signal class where possible.
66
}
77
\details{
8-
\subsection{Available error Classes}{
9-
\code{data.table} provides four specific error classes:
8+
\subsection{Available Condition Classes}{
9+
\code{data.table} provides four specific condition classes:
1010
11+
Error Classes:
1112
\itemize{
1213
\item \code{dt_missing_column_error}: When referencing columns that don't exist
1314
\item \code{dt_invalid_input_error}: When providing invalid input types or empty required arguments
1415
\item \code{dt_unsortable_type_error}: When trying to sort/key unsupported types
1516
\item \code{dt_join_type_mismatch_error}: When column types are incompatible in joins/set operations
17+
\item \code{dt_invalid_let_error}: When using assignment operators incorrectly
18+
}
19+
20+
Warning Classes:
21+
\itemize{
22+
\item \code{dt_missing_fun_aggregate_warning}: When aggregation function is missing in operations that require it
1623
}
1724
}
1825

0 commit comments

Comments
 (0)