Skip to content
Source
Sign inSign up

nativeViewResolutionError.ts

13 lines358 Bytes

1import * as Schema from "effect/Schema";
2​
3export class NativeViewResolutionError extends Schema.TaggedError<NativeViewResolutionError>()(
4 "NativeViewResolutionError",
5 {
6 nativeModuleName: Schema.String,
7 cause: Schema.Defect(),
8 },
9) {
10 override get message(): string {
11 return `Failed to resolve native view ${this.nativeModuleName}.`;
12 }