Creates an assertion error with the provided mapId and optional message.
UnknownMapIDError(this.mapId, [this.message]);