import { ContextErrorMessage } from './context_error_message' ; export function createContextErrorMessageDirective ( reactDirective ) { return reactDirective ( ContextErrorMessage , [ [ 'status' , { watchDepth : 'reference' } ] , [ 'reason' , { watchDepth : 'reference' } ] , ] ) ; }