Created
September 29, 2008 01:14
-
-
Save djwonk/13534 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# merb-core | |
# exceptions.rb | |
class InternalServerError < Merb::ControllerExceptions::ServerError #:doc: | |
self.status = 500; | |
# def initialize(exception = nil) | |
# @exception = exception | |
# end | |
# | |
# def backtrace | |
# @exception ? @exception.backtrace : backtrace | |
# end | |
# | |
# def message | |
# @exception ? @exception.message : message | |
# end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment