Exception: Xmvc::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Xmvc::Error
- Defined in:
- lib/xmvc.rb
Direct Known Subclasses
AppAlreadyExists, AppNotFound, ArgumentError, BuilderError, FileExists, Generator::Boot::PathError, HostError, NoFramework, VendorFileNotFound
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.status_code(code = nil) ⇒ Object
43 44 45 46 |
# File 'lib/xmvc.rb', line 43 def self.status_code(code = nil) return @code unless code @code = code end |
Instance Method Details
#status_code ⇒ Object
48 49 50 |
# File 'lib/xmvc.rb', line 48 def status_code self.class.status_code end |