Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cd7bf5b38df57cf1739072549ec48b8120e4b496
Ticket: 1214322fffffffffffffffffffffffffffffffff
Provide descriptions of error codes
User & Date: davidw on 2005-06-03 15:17:21
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Hi, a small API such as this would be handy:
    
    array set errs {
        401 "Not authorized to access this directory"
        403 "Forbidden"
        404 "File not found"
        500 "Internal server error"
        501 "Not implemented"
    }
    
    if { ! [info exists errs($ncode)] } {
        set errmsg "numeric: $ncode"
    } else {
        set errmsg $errs($ncode)
    }
    
    Thanks,
    Dave
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "davidw"
  9. subsystem changed to: "29. http Package"
  10. title changed to: "Provide descriptions of error codes"
  11. type changed to: "RFE"