public function destroyFailedMessage($number, $message = null)
    {
        if (Lang::has('resource-controller.destroyfailed')) {
            return trans(
                'resource-controller.destroyfailed', [
                    'number' => $number,
                    'message' => $message
                ]
            );
        }

        return 'Operation failed while destroying the record '.$number.' with message: '.$message;
    }