度々忘れるのでメモしておきます。
1 Merb::ControllerExceptions .constants.sort #=> ["Accepted", "ActionNotF ound", "BadGateway ", "BadRequest ", "Base", "ClientErro r", "Conflict", "Continue", "Created", "Expectatio nFailed", "Forbidden", "GatewayTim eout", "Gone", "HTTPVersio nNotSuppor ted", "Informatio nal", "InternalSe rverError", "LayoutNotF ound", "LengthRequ ired", "MethodNotA llowed", "MovedPerma nently", "MovedTempo rarily", "MultiPartP arseError", "MultipleCh oices", "NoContent", "NonAuthori tativeInfo rmation", "NotAccepta ble", "NotFound", "NotImpleme nted", "NotModifie d", "OK", "PartialCon tent", "PaymentReq uired", "Preconditi onFailed", "ProxyAuthe nticationR equired", "Redirectio n", "RequestEnt ityTooLarg e", "RequestRan geNotSatis fiable", "RequestTim eout", "RequestURI TooLarge", "ResetConte nt", "STATUS_COD ES", "SeeOther", "ServerErro r", "ServiceUna vailable", "Successful ", "SwitchingP rotocols", "TemplateNo tFound", "TemporaryR edirect", "Unauthoriz ed", "Unsupporte dMediaType ", "UseProxy"]
posted by
genki
on Sat 4 Apr 2009
at 22:58