<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
3
©ft`F  γ               @   s  d dl Z d dlmZmZ d dlmZ G dd de jjZG dd de jjZ	G dd	 d	e jjZ
G d
d de jjZG dd de jjZG dd de jjZG dd de jjZG dd de jjZG dd de jjZG dd de jjZG dd de jjZdS )ι    N)Ϊmodule_messagesΪNO_PROFILE_SPECIFIED)Ϊ_c                   s   e Zd Z fddZ  ZS )ΪNoModuleExceptionc                s"   t dj|}tt| j| d S )NzNo such module: {})r   ΪformatΪsuperr   Ϊ__init__)ΪselfΪmodule_specΪvalue)Ϊ	__class__© ϊ /usr/lib/python3.6/exceptions.pyr      s    zNoModuleException.__init__)Ϊ__name__Ϊ
__module__Ϊ__qualname__r   Ϊ__classcell__r   r   )r   r   r      s   r   c                   s   e Zd Z fddZ  ZS )ΪNoStreamExceptionc                s"   t dj|}tt| j| d S )NzNo such stream: {})r   r   r   r   r   )r	   Ϊstreamr   )r   r   r   r       s    zNoStreamException.__init__)r   r   r   r   r   r   r   )r   r   r      s   r   c                   s   e Zd Z fddZ  ZS )ΪEnabledStreamExceptionc                s"   t dj|}tt| j| d S )Nz No enabled stream for module: {})r   r   r   r   r   )r	   r
   r   )r   r   r   r   &   s    zEnabledStreamException.__init__)r   r   r   r   r   r   r   )r   r   r   %   s   r   c                   s   e Zd Zd fdd	Z  ZS )ΪEnableMultipleStreamsExceptionNc                s*   |d krt dj|}tt| j| d S )Nz<Cannot enable more streams from module '{}' at the same time)r   r   r   r   r   )r	   r
   r   )r   r   r   r   ,   s    z'EnableMultipleStreamsException.__init__)N)r   r   r   r   r   r   r   )r   r   r   +   s   r   c                   s   e Zd Z fddZ  ZS )ΪDifferentStreamEnabledExceptionc                s"   t dj|}tt| j| d S )Nz'Different stream enabled for module: {})r   r   r   r   r   )r	   r
   r   )r   r   r   r   3   s    z(DifferentStreamEnabledException.__init__)r   r   r   r   r   r   r   )r   r   r   2   s   r   c                   s   e Zd Z fddZ  ZS )ΪNoProfileExceptionc                s"   t dj|}tt| j| d S )NzNo such profile: {})r   r   r   r   r   )r	   Zprofiler   )r   r   r   r   9   s    zNoProfileException.__init__)r   r   r   r   r   r   r   )r   r   r   8   s   r   c                   s   e Zd Z fddZ  ZS )ΪProfileNotInstalledExceptionc                s"   t dj|}tt| j| d S )Nz&Specified profile not installed for {})r   r   r   r   r   )r	   r
   r   )r   r   r   r   ?   s    z%ProfileNotInstalledException.__init__)r   r   r   r   r   r   r   )r   r   r   >   s   r   c                   s   e Zd Z fddZ  ZS )ΪNoStreamSpecifiedExceptionc                s"   t dj|}tt| j| d S )Nz3No stream specified for '{}', please specify stream)r   r   r   r   r   )r	   r
   r   )r   r   r   r   E   s    z#NoStreamSpecifiedException.__init__)r   r   r   r   r   r   r   )r   r   r   D   s   r   c                   s   e Zd Z fddZ  ZS )ΪNoProfileSpecifiedExceptionc                s"   t t j|}tt| j| d S )N)r   r   r   r   r   r   )r	   r
   r   )r   r   r   r   K   s    z$NoProfileSpecifiedException.__init__)r   r   r   r   r   r   r   )r   r   r   J   s   r   c                   s   e Zd Z fddZ  ZS )ΪNoProfilesExceptionc                s"   t dj|}tt| j| d S )Nz*No such profile: {}. No profiles available)r   r   r   r   r   )r	   r
   r   )r   r   r   r   Q   s    zNoProfilesException.__init__)r   r   r   r   r   r   r   )r   r   r   P   s   r   c                   s   e Zd Z fddZ  ZS )ΪNoProfileToRemoveExceptionc                s"   t dj|}tt| j| d S )NzNo profile to remove for '{}')r   r   r   r   r   )r	   r
   r   )r   r   r   r   W   s    z#NoProfileToRemoveException.__init__)r   r   r   r   r   r   r   )r   r   r   V   s   r   )ZdnfZ
dnf.moduler   r   Zdnf.i18nr   Ϊ
exceptionsΪErrorr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   Ϊ<module>   s   