You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The uniqueConstraint sample trigger, on lines 47, 60, 69, 105, 115, 121, and 134, throws a new Error with two arguments - an error code and a message. Similarly, the sum sample stored procedure does the same thing on lines 32 and 33.
It appears that Error can only be thrown with a single (message) argument though - and all other samples just use a single argument.
Which is correct?
The text was updated successfully, but these errors were encountered:
The
uniqueConstraint
sample trigger, on lines 47, 60, 69, 105, 115, 121, and 134, throws a newError
with two arguments - an error code and a message. Similarly, thesum
sample stored procedure does the same thing on lines 32 and 33.It appears that
Error
can only be thrown with a single (message
) argument though - and all other samples just use a single argument.Which is correct?
The text was updated successfully, but these errors were encountered: