sailfork / t3code-github / apps/ mobile/ src/ native/ nativeViewResolutionError.ts
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}.`;
}
}