KeyError constructor

const KeyError(
  1. Object error
)

Implementation

const KeyError(this.error);