class RubyBreaker::Errors::InvalidSubtypeCheck

This error is thrown when a subtype check is not even appropriate for two given types. It should NOT BE USED for any check failures.

Public Class Methods

new(msg,pos=nil) click to toggle source
Calls superclass method RubyBreaker::Errors::InternalError::new
# File lib/rubybreaker/debug/error.rb, line 29
def initialize(msg,pos=nil)
  @level = :FATAL
  @pos = pos ? pos : Position.convert_caller_to_pos(caller(1))
  super("InvalidSubtypingCheck: #{msg}")
end