<?xml version="1.0"?>
<paste-with-annotations>
  <paste>
    <number>
      <integer>61211</integer>
    </number>
    <user>
      <string>|Agent</string>
    </user>
    <title>
      <string>cerror usage?</string>
    </title>
    <contents>
      <string>define method do-something()
   /* Do something. */
   if (failed?)
      cerror(&quot;inserted cable %s&quot;, &quot;missing cable %s&quot;, &quot;com1&quot;)
   end if;
   /* Problem corrected, move on. */
end method;

define method caller()
   block() 
      do-something()
   exception (e :: &lt;simple-error&gt;, init-arguments: #[#&quot;format-string&quot;, &quot;missing cable %s&quot;])
      format-out(&quot;Plug in %s and press key\n&quot;, e.format-arguments);
      wait-for-keypress();
      signal(&lt;simple-restart&gt;, format-string: &quot;inserted cable %s&quot;,
             format-arguments: e.format-arguments);
   end block;
end method;

</string>
    </contents>
    <universal-time>
      <integer>3420660728</integer>
    </universal-time>
    <channel>
      <string>#dylan</string>
    </channel>
    <colorization-mode>
      <string></string>
    </colorization-mode>
    <maybe-spam>
      <null/>
    </maybe-spam>
    <is-unicode>
      <keyword>TRUE</keyword>
    </is-unicode>
    <deletion-requested>
      <null/>
    </deletion-requested>
    <deletion-requested-email>
      <null/>
    </deletion-requested-email>
    <expiration-time>
      <null/>
    </expiration-time>
  </paste>
</paste-with-annotations>
