/// <summary>
        /// the 'delete' fault map
        /// </summary>
        /// <returns>a function map</returns>
        public FunctionMaps DeleteFaultMap()
        {
            var _faultMap = new FunctionMaps();

            _faultMap.Add(typeof(MalformedRequestException), x => Malformed(x.Message));
            _faultMap.Add(typeof(NoContentException), x => NoContent(x.Message));

            _faultMap.Add(typeof(FallbackActionException), x => UnknownError(x.Message));

            return(_faultMap);
        }
        /// <summary>
        /// get's the 'by location' fault map
        /// </summary>
        /// <returns>a function map</returns>
        public FunctionMaps GetByLocationFaultMap()
        {
            var _faultMap = new FunctionMaps();

            _faultMap.Add(typeof(MalformedRequestException), x => NoContent(string.Empty));
            _faultMap.Add(typeof(NoContentException), x => NoContent(x.Message));

            _faultMap.Add(typeof(InvalidPostcodeException), x => NoContent(x.Message));
            _faultMap.Add(typeof(FallbackActionException), x => NoContent(string.Empty));

            return(_faultMap);
        }
        /// <summary>
        /// the 'post' fault map
        /// </summary>
        /// <returns>a function map</returns>
        public FunctionMaps PostFaultMap()
        {
            var _faultMap = new FunctionMaps();

            _faultMap.Add(typeof(ConflictingResourceException), x => Conflicted(x.Message));
            _faultMap.Add(typeof(MalformedRequestException), x => Malformed(x.Message));
            _faultMap.Add(typeof(NoContentException), x => NoContent(x.Message));
            _faultMap.Add(typeof(UnprocessableEntityException), x => UnprocessableEntity(x.Message));

            _faultMap.Add(typeof(FallbackActionException), x => UnknownError(x.Message));

            return(_faultMap);
        }