Exception: Exception

Defined in:
lib/ubiquity/mediasilo/api/v3/utilities.rb

Instance Method Summary collapse

Instance Method Details

#prefix_message(message_prefix = nil) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/ubiquity/mediasilo/api/v3/utilities.rb', line 5

def prefix_message(message_prefix = nil)
  begin
    raise self, "#{message_prefix ? "#{message_prefix} " : ''}#{message}", backtrace
  rescue Exception => e
    return e
  end
end