Handbook
Glossary
source-file-error
Factor handbook
»
The implementation
»
Batch error reporting
Next:
error-summary ( -- )
Vocabulary
source-files
.
errors
Definition
IN:
source-files.errors
TUPLE:
source-file-error
error asset path line#
;
Methods
USING:
accessors
continuations
source-files.errors
;
M:
source-file-error
compute-restarts
error>>
compute-restarts
;
USING:
accessors
kernel
source-files.errors
;
M:
source-file-error
error-file
[
error>>
error-file
]
[
path>>
]
bi
or
;
USING:
accessors
debugger
source-files.errors
;
M:
source-file-error
error-help
error>>
error-help
;
USING:
accessors
kernel
source-files.errors
;
M:
source-file-error
error-line
[
error>>
error-line
]
[
line#>>
]
bi
or
;
USING:
accessors
debugger
io
kernel
prettyprint
source-files.errors
source-files.errors.debugger
;
M:
source-file-error
error.
[
error-location
print
nl
]
[
asset>>
[
"Asset: "
write
short.
nl
]
when*
]
[
error>>
error.
]
tri
;
USING:
accessors
arrays
fuel.pprint
kernel
sequences
source-files.errors
;
M:
source-file-error
fuel-pprint
[
path>>
]
[
error>>
]
bi
2array
source-file-error
prefix
fuel-pprint
;
USING:
accessors
source-files.errors
summary
;
M:
source-file-error
summary
error>>
summary
;