Changeset 34103 in project


Ignore:
Timestamp:
05/29/17 21:37:43 (4 weeks ago)
Author:
kon
Message:

rel 1.1.0

File:
1 edited

Legend:

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

    r19761 r34103  
    1212Provides variants of the {{error}} procedure.
    1313
     14==== errorf
     15
     16<procedure>(errorf [LOCATION] FORMAT [ARG...])</procedure>
     17
     18Invoke {{error}} with a message built by the {{(error-format-procedure)}}.
     19
     20Should the argument list not match the criteria for a {{format}} argument list
     21then the arguments are passed directly to {{error}}. The point being {{errorf}}
     22will raise an error.
     23
     24==== errorf/no-raise
     25
     26<procedure>(errorf/no-raise [LOCATION] FORMAT [ARG...])</procedure>
     27
     28Displays a message just like {{errorf}} but does not raise an error.
     29
    1430==== error/no-raise
    1531
     
    2440A unary version of {{error/no-raise}}.
    2541
    26 ==== errorf
    27 
    28 <procedure>(errorf [LOCATION] FORMAT [ARG...])</procedure>
    29 
    30 Invoke {{error}} with a message built by the {{(error-format-procedure)}}.
    31 
    32 Should the argument list not match the criteria for a {{format}} argument list
    33 then the arguments are passed directly to {{error}}. The point being {{errorf}}
    34 will raise an error.
    35 
    3642==== error-format-procedure
    3743
    38 <procedure>(error-format-procedure) => procedure</procedure>
    39 <procedure>(error-format-procedure FORMAT)</procedure>
     44<procedure>(error-format-procedure [FORMAT]) => procedure</procedure>
    4045
    41 Gets & sets the {{FORMAT}} procedure used by {{errorf}}. The default is the
     46Parameter for the {{FORMAT}} procedure used by {{errorf}}. The default is the
    4247Unit extras {{format}}.
    4348
     
    6065== Version history
    6166
     67; 1.1.0 : Made {{error-format-procedure}} a parameter. Add {{errorf/no-raise}}.
    6268; 1.0.0 : Hello (from "check-errors:1.11.0")
    6369
     
    6571== License
    6672
    67 Copyright (C) 2010 Kon Lovett.  All rights reserved.
     73Copyright (C) 2010-2017 Kon Lovett.  All rights reserved.
    6874
    6975Permission is hereby granted, free of charge, to any person obtaining a
Note: See TracChangeset for help on using the changeset viewer.