Exception: PandaPal::OrganizationConcerns::OrganizationBuilder::InteractiveSessionError
- Inherits:
-
StandardError
- Object
- StandardError
- PandaPal::OrganizationConcerns::OrganizationBuilder::InteractiveSessionError
- Defined in:
- app/models/panda_pal/organization_concerns/organization_builder.rb
Instance Attribute Summary collapse
-
#source_code ⇒ Object
readonly
Returns the value of attribute source_code.
Instance Method Summary collapse
-
#initialize(message, source_code) ⇒ InteractiveSessionError
constructor
A new instance of InteractiveSessionError.
- #print ⇒ Object
Constructor Details
#initialize(message, source_code) ⇒ InteractiveSessionError
Returns a new instance of InteractiveSessionError.
10 11 12 13 |
# File 'app/models/panda_pal/organization_concerns/organization_builder.rb', line 10 def initialize(, source_code) super() @source_code = source_code end |
Instance Attribute Details
#source_code ⇒ Object (readonly)
Returns the value of attribute source_code.
8 9 10 |
# File 'app/models/panda_pal/organization_concerns/organization_builder.rb', line 8 def source_code @source_code end |
Instance Method Details
#print ⇒ Object
15 16 17 18 19 20 21 22 23 |
# File 'app/models/panda_pal/organization_concerns/organization_builder.rb', line 15 def print puts cause&., cause&.backtrace puts "" puts puts "Code is below for tweaking and/or using it in a Rails console" puts "" puts source_code puts "" end |