Exception: WCC::Contentful::App::PageNotFoundError
- Inherits:
- 
      StandardError
      
        - Object
- StandardError
- WCC::Contentful::App::PageNotFoundError
 
- Defined in:
- lib/wcc/contentful/app/exceptions.rb
Instance Attribute Summary collapse
- 
  
    
      #slug  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute slug. 
Instance Method Summary collapse
- 
  
    
      #initialize(slug)  ⇒ PageNotFoundError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of PageNotFoundError. 
Constructor Details
#initialize(slug) ⇒ PageNotFoundError
Returns a new instance of PageNotFoundError.
| 40 41 42 43 | # File 'lib/wcc/contentful/app/exceptions.rb', line 40 def initialize(slug) super("Page not found: '#{slug}'") @slug = slug end | 
Instance Attribute Details
#slug ⇒ Object (readonly)
Returns the value of attribute slug.
| 38 39 40 | # File 'lib/wcc/contentful/app/exceptions.rb', line 38 def slug @slug end |