File: exceptions.h

package info (click to toggle)
libappimage 1.0.4-5-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,320 kB
  • sloc: cpp: 4,678; ansic: 1,325; sh: 169; python: 27; makefile: 19
file content (18 lines) | stat: -rw-r--r-- 509 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

// local
#include <appimage/core/exceptions.h>

namespace appimage {
    namespace desktop_integration {

        /**
         * Throw in case of failure while performing a given desktop integration operation.
         * For example when a DesktopEntry is missing or malformed.
         */
        class DesktopIntegrationError : public core::AppImageError {
        public:
            explicit DesktopIntegrationError(const std::string& what) : core::AppImageError(what) {}
        };
    }
}