..error - Error

..error message
Emit assembly error.
Message is required. This eliminates opaque errors with no message.
Preferred over the standard error directives.
Type assembly.
Parameters:message (string) – Error message. Required. Input only.
Raises:Error – Always. With provided message.

..errord - Error with default

..errord message? default
Emit assembly error.
Use error message if provided, default error message otherwise.
For use by macros that take an optional error message.
Type assembly.
  • message (string) – Error message. Optional. No default. Input only.
  • default (string) – Default error message. Required. Input only.

Error – Always. With provided message or default.