Changeset 34145 in project


Ignore:
Timestamp:
05/31/17 21:53:21 (3 months ago)
Author:
kon
Message:

rel 1.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/condition-utils

    r34120 r34145  
    100100=== write-exn-condition
    101101
    102 <procedure>(write-exn-condition COND [PORT (current-output-port)])</procedure>
     102<procedure>(write-exn-condition COND [PORT (current-output-port) [HEADER "Error" [CHAIN-HEADER "\n\tCall history:\n"]]])</procedure>
    103103
    104104Produces on {{PORT}} the form:
    105  Error: (<location - if any>) <message - if any>: <arguments - if any>
    106       +: <condition-kind>: <condition-property> ...
    107       ... for a composite condition ...
    108  Call history:
    109  <call-chain>
     105
     106Error: (<location - if any>) <message - if any>: <arguments - if any>
     107    +: <condition-kind>: <condition-property> ...
     108       ... for a composite condition ...
     109
     110       Call history:
     111       <call-chain>
    110112
    111113The call-chain may not be available.
     
    113115=== write-condition
    114116
    115 <procedure>(write-condition COND [PORT (current-output-port)])</procedure>
     117<procedure>(write-condition COND [PORT (current-output-port) [HEADER "Error"]])</procedure>
    116118
    117119Produces on {{PORT}} the form:
    118  Error: <condition-kind>: <condition-property> ...
    119       +: <condition-kind>: <condition-property> ...
    120       ... for a composite condition ...
     120
     121Error: <condition-kind>: <condition-property> ...
     122    +: <condition-kind>: <condition-property> ...
     123       ... for a composite condition ...
    121124
    122125=== condition-predicate*
     
    485488== Version history
    486489
     490; 1.4.0 : Add {{HEADER}} to {{write-exn-condition}} & {{write-condition}}. Add {{CHAIN-HEADER}} to {{write-exn-condition}}. Follow {{error}} form more closely.
    487491; 1.3.0 : {{write-exn-condition}} now includes all elements of a {{composite-condition}}. Added {{write-condition}}.
    488492; 1.2.0 : amended {{write-exn-condition}}, add doc for condition libraries.
Note: See TracChangeset for help on using the changeset viewer.