code: def create_error_handlers(blueprint):
      
      blueprint.errorhandler(PIDInvalidAction)(create_api_errorhandler(
          status=403, message='Invalid action'
      ))
      records_rest_error_handlers(blueprint)
docs: Create error handlers on blueprint.