method

new

v2_6_3 - Show latest stable - Class: KeyError
new(p1 = v1, p2 = {})
public

Construct a new KeyError exception with the given message, receiver and key.