import { OpenrpcDocument as OpenRPC } from "../types"; /** * Provides an error interface for handling when a method is trying to be called but does not exist. */ export default class MethodRefUnexpectedError implements Error { methodRef: string; openrpcDocument: OpenRPC; name: string; message: string; /** * @param methodRef The method reference that was discovered. * @param openrpcDocument The OpenRPC document that the method was used against. */ constructor(methodRef: string, openrpcDocument: OpenRPC); }