func UseJSONErrors() {
	defaultErrorConfig.mutex.Lock()
	defaultErrorConfig.conf.errorType = ErrorTypeJSON
	defaultErrorConfig.mutex.Unlock()
}
// UseJSONErrors configures the framework to use json for presenting errors. The JSON will consist of a status and a message
UseJSONErrors configures the framework to use json for presenting errors. The JSON will consist of a status and a message
// UseJSONErrors configures the framework to use json for presenting errors . The JSON will consist of a status and a message
func UseJSONErrors() {
	defaultErrorConfig.mutex.Lock()
	defaultErrorConfig.conf.errorType = ErrorTypeJSON
	defaultErrorConfig.mutex.Unlock()
}
func UseJSONErrors ( ) { defaultErrorConfig . mutex . Lock ( ) defaultErrorConfig . conf . errorType = ErrorTypeJSON defaultErrorConfig . mutex . Unlock ( ) }
UseJSONErrors configures the framework to use json for presenting errors.
UseJSONErrors configures the framework to use json for presenting errors .