Skip to content
Snippets Groups Projects
Select Git revision
  • 0197b62000071439ef6f72d7a4972fefbaf1acac
  • main default protected
  • step-3263
  • feature/plugins-cli
  • feature/vite
  • step-2484-peerreview
  • biest/issue-5051
  • tests/simplify-jsonapi-tests
  • fix/typo-in-1a70031
  • feature/broadcasting
  • database-seeders-and-factories
  • feature/peer-review-2
  • feature-feedback-jsonapi
  • feature/peerreview
  • feature/balloon-plus
  • feature/stock-images-unsplash
  • tic-2588
  • 5.0
  • 5.2
  • biest/unlock-blocks
  • biest-1514
21 results

KeyringException.php

  • Forked from Stud.IP / Stud.IP
    573 commits behind the upstream repository.
    Moritz Strohm's avatar
    Moritz Strohm authored
    Closes #3348
    
    Merge request studip/studip!2275
    0197b620
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    KeyringException.php 642 B
    <?php
    
    namespace Studip;
    
    use Studip\Exception;
    
    /**
     * The KeyringException class represents exceptions that occurr when using keyrings.
     */
    class KeyringException extends Exception
    {
        /**
         * The CREATION_FAILED status code means that a keyring could not be created.
         */
        public const CREATION_FAILED = 1;
    
        /**
         * The NOT FOUND status code means that the search for a keyring did not yield a result.
         */
        public const NOT_FOUND = 2;
    
        /**
         * The UNSUPPORTED_KEY_ALGORITHM status code means that the selected key algorithm
         * is not supported.
         */
        public const UNSUPPORTED_KEY_ALGORITHM = 3;
    }