lispdoc - results for condition |
condition | Undocumented
|
Example:(defun platform-handle-debugger-condition (condition) (typecase condition (t (format *trace-output* "Caught error: ~A~%" condition)))) | Mentioned in: CLtL2 - 29.3.14. Condition Types CLtL2 - 29.3.4. Object-Oriented Basis of Condition Handling CLtL2 - 29.5. Predefined Condition Types HyperSpec - 9.1 Condition System Concepts HyperSpec - 9.1.1 Condition Types HyperSpec - 9.1.2.1 Condition Designators HyperSpec - 9.1.3.1 Recommended Style in Condition Reporting HyperSpec - 9.1.3.1.1 Capitalization and Punctuation in Condition Reports HyperSpec - 9.1.3.1.2 Leading and Trailing Newlines in Condition Reports HyperSpec - 9.1.3.1.3 Embedded Newlines in Condition Reports HyperSpec - 9.1.3.1.4 Note about Tabs in Condition Reports HyperSpec - 9.1.3.1.5 Mentioning Containing Function in Condition Reports HyperSpec - 9.1.4.1.1 Resignaling a Condition HyperSpec - 9.1.4.2.4 Associating a Restart with a Condition HyperSpec - 9.1.6 Notes about the Condition System's Background HyperSpec - Condition Type ARITHMETIC-ERROR HyperSpec - Condition Type CELL-ERROR HyperSpec - Condition Type CONDITION HyperSpec - Condition Type CONTROL-ERROR HyperSpec - Condition Type DIVISION-BY-ZERO HyperSpec - Condition Type END-OF-FILE HyperSpec - Condition Type ERROR HyperSpec - Condition Type FILE-ERROR HyperSpec - Condition Type FLOATING-POINT-INEXACT HyperSpec - Condition Type FLOATING-POINT-INVALID-OPERATION HyperSpec - Condition Type FLOATING-POINT-OVERFLOW HyperSpec - Condition Type FLOATING-POINT-UNDERFLOW HyperSpec - Condition Type PACKAGE-ERROR HyperSpec - Condition Type PARSE-ERROR HyperSpec - Condition Type PRINT-NOT-READABLE HyperSpec - Condition Type PROGRAM-ERROR HyperSpec - Condition Type READER-ERROR HyperSpec - Condition Type SERIOUS-CONDITION HyperSpec - Condition Type SIMPLE-CONDITION HyperSpec - Condition Type SIMPLE-ERROR HyperSpec - Condition Type SIMPLE-TYPE-ERROR HyperSpec - Condition Type SIMPLE-WARNING HyperSpec - Condition Type STORAGE-CONDITION HyperSpec - Condition Type STREAM-ERROR HyperSpec - Condition Type STYLE-WARNING HyperSpec - Condition Type TYPE-ERROR HyperSpec - Condition Type UNBOUND-SLOT HyperSpec - Condition Type UNBOUND-VARIABLE HyperSpec - Condition Type UNDEFINED-FUNCTION HyperSpec - Condition Type WARNING PCL - conditions Successful Lisp - chapter23 |
conditions | |
| Mentioned in: HyperSpec - 9.1.1.1 Serious Conditions HyperSpec - 9.1.2 Creating Conditions HyperSpec - 9.1.3 Printing Conditions HyperSpec - 9.1.4 Signaling and Handling Conditions HyperSpec - 9.2 The Conditions Dictionary | |
(make-condition type &rest args) | Function: Make an instance of a condition object using the specified initargs.
|
Example:(defun parser-error (message &optional args stream) (make-condition 'xml-parser-error :message message :args args :stream stream)) | Mentioned in: CLtL2 - 29.3.3. Handling Conditions CLtL2 - 29.4.5. Defining Conditions CLtL2 - 29.4.6. Creating Conditions CLtL2 - 29.5. Predefined Condition Types CLtL2 - 5.1.2. Variables HyperSpec - Function MAKE-CONDITION PCL - conditions Successful Lisp - condition designator |
(define-condition name (&rest parent-types) (&rest slot-specs) &body options) | Function: DEFINE-CONDITION Name (Parent-Type*) (Slot-Spec*) Option* Define NAME as a condition type. This new type inherits slots and its report function from the specified PARENT-TYPEs. A slot spec is a list of: (slot-name :reader <rname> :initarg <iname> {Option Value}* The DEFINE-CLASS slot options :ALLOCATION, :INITFORM, [slot] :DOCUMENTATION and :TYPE and the overall options :DEFAULT-INITARGS and [type] :DOCUMENTATION are also allowed. The :REPORT option is peculiar to DEFINE-CONDITION. Its argument is either a string or a two-argument lambda or function name. If a function, the function is called with the condition and stream to report the condition. If a string, the string is printed. Condition types are classes, but (as allowed by ANSI and not as described in CLtL2) are neither STANDARD-OBJECTs nor STRUCTURE-OBJECTs. WITH-SLOTS and SLOT-VALUE may not be used on condition objects.
|
| Mentioned in: CLtL2 - 25.1.3. Compilation Environment CLtL2 - 29.3.18. Printing Conditions CLtL2 - 29.3.4. Object-Oriented Basis of Condition Handling CLtL2 - 29.4.5. Defining Conditions HyperSpec - Macro DEFINE-CONDITION PCL - conditions Successful Lisp - chapter23 | |
simple-condition | Undocumented
|
| Mentioned in: CLtL2 - 29.5. Predefined Condition Types HyperSpec - Condition Type SIMPLE-CONDITION | |
serious-condition | Undocumented
|
| Mentioned in: CLtL2 - 29.3.12. Serious Conditions CLtL2 - 29.5. Predefined Condition Types HyperSpec - Condition Type SERIOUS-CONDITION | |
storage-condition | Undocumented
|
| Mentioned in: CLtL2 - 29.3.16. Resignaling Conditions CLtL2 - 29.5. Predefined Condition Types HyperSpec - Condition Type STORAGE-CONDITION | |
usocket:ns-condition | Type: Parent condition for all name resolution conditions.
Structure: Parent condition for all name resolution conditions. |
usocket:socket-condition | Type: Parent condition for all socket related conditions.
Structure: Parent condition for all socket related conditions. |
usocket:unknown-condition | Type: Condition raised when there's no other - more applicable - condition available.
Structure: Condition raised when there's no other - more applicable - condition available. |
usocket:interrupted-condition | Undocumented
|
(with-condition-restarts condition-form restarts-form &body body) | Function: Evaluates the BODY in a dynamic environment where the restarts in the list RESTARTS-FORM are associated with the condition returned by CONDITION-FORM. This allows FIND-RESTART, etc., to recognize restarts that are not related to the error currently being debugged. See also RESTART-CASE.
|
| Mentioned in: CLtL2 - 29.4.1. Signaling Conditions CLtL2 - 29.4.2. Assertions CLtL2 - 29.4.7. Establishing Restarts CLtL2 - 9.1. Declaration Syntax HyperSpec - Macro WITH-CONDITION-RESTARTS | |
hunchentoot:hunchentoot-condition | Type: Superclass for all conditions related to Hunchentoot.
Structure: Superclass for all conditions related to Hunchentoot. |
usocket:ns-unknown-condition | Type: Condition raised when there's no other - more applicable - condition available.
Structure: Condition raised when there's no other - more applicable - condition available. |
(usocket:with-mapped-conditions (&optional socket) &body body) | Undocumented
|
(bordeaux-threads:condition-wait condition-variable lock) | Function: Atomically release LOCK and enqueue the calling thread waiting for CONDITION-VARIABLE. The thread will resume when another thread has notified it using CONDITION-NOTIFY; it may also resume if interrupted by some external event or in other implementation-dependent circumstances: the caller must always test on waking that there is threading to be done, instead of assuming that it can go ahead. However and for whatever reason the thread is resumed, the system always reacquires LOCK before returning to the caller. It is an error to call this unless from the thread that holds LOCK. In an implementation that does not support multiple threads, this function signals an error.
|
(trivial-backtrace:print-condition condition stream) | Function: Print `condition` to `stream` using the pretty printer.
|
(bordeaux-threads:condition-notify condition-variable) | Function: Notify at least one of the threads waiting for CONDITION-VARIABLE. It is implementation-dependent whether one or more than one (and possibly all) threads are woken, but if the implementation is capable of waking only a single thread (not all are) this is probably preferable for efficiency reasons. The order of wakeup is unspecified and does not necessarily relate to the order that the threads went to sleep in. CONDITION-NOTIFY has no useful return value. In an implementation that does not support multiple threads, it has no effect.
|
usocket:ns-try-again-condition | Undocumented
|
(simple-condition-format-control condition) | Function: Return the offending thread that the THREAD-ERROR pertains to.
|
| Mentioned in: HyperSpec - Function SIMPLE-CONDITION-FORMAT-CONTROL, SIMPLE-CONDITION-FORMAT-ARGUMENTS | |
(alexandria.0.dev:ignore-some-conditions (&rest conditions) &body body) | Function: Similar to CL:IGNORE-ERRORS but the (unevaluated) CONDITIONS list determines which specific conditions are to be ignored.
|
(simple-condition-format-arguments condition) | Function: Return the offending thread that the THREAD-ERROR pertains to.
|
| Mentioned in: CLtL2 - 29.5. Predefined Condition Types HyperSpec - Function SIMPLE-CONDITION-FORMAT-CONTROL, SIMPLE-CONDITION-FORMAT-ARGUMENTS | |
flexi-streams:external-format-condition | Type: Superclass for all conditions related to external formats.
Structure: Superclass for all conditions related to external formats. |
(bordeaux-threads:make-condition-variable &key name) | Function: Returns a new condition-variable object for use with CONDITION-WAIT and CONDITION-NOTIFY.
|
(flexi-streams:external-format-condition-external-format condition) | Undocumented
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| By Bill Moorier |