13 lines · 358 B · TypeScript
RawDownload
import * as Schema from "effect/Schema"; export class NativeViewResolutionError extends Schema.TaggedError<NativeViewResolutionError>()(  "NativeViewResolutionError",  {    nativeModuleName: Schema.String,    cause: Schema.Defect(),  },) {  override get message(): string {    return `Failed to resolve native view ${this.nativeModuleName}.`;  }}