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
38 39 40 41 |
# File 'lib/xmvc.rb', line 38 def self.status_code(code = nil) return @code unless code @code = code end |
Instance Method Details
#status_code ⇒ Object
43 44 45 |
# File 'lib/xmvc.rb', line 43 def status_code self.class.status_code end |