import { makeErrorWithCode } from '@neo-one/utils' ; export const InvalidContractFeatureError = makeErrorWithCode ( 'INVALID_CONTRACT_PROPERTY_STATE' , ( contractParameterFeature ) => `Expected contract feature, found: ${ contractParameterFeature . toString ( 16 ) }` ) ; export const InvalidVersionError = makeErrorWithCode ( 'INVALID_VERSION' , ( expected , value ) => `Expected version to be ${ expected }, found: ${ value }` ) ;