Handbook
Glossary
define-error-type ( error-type -- )
Vocabulary
source-files
.
errors
Inputs
error-type
an
error-type-holder
Outputs
None
Word description
Registers a new error type.
Definition
USING:
accessors
assocs
kernel
namespaces
;
IN:
source-files.errors
:
define-error-type
( error-type -- )
dup
type>>
error-types
get
set-at
;