OtherError constructor

const OtherError(
  1. Object error
)

Implementation

const OtherError(this.error);