Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Errors
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
MESI
Octopy (old)
lib
Errors
Commits
ce308fdb
Commit
ce308fdb
authored
3 years ago
by
Niklas Ekström
Browse files
Options
Downloads
Patches
Plain Diff
Inherits from EXception instead of BaseException
parent
1aa51695
No related branches found
Branches containing commit
Tags
2021.11.02
20211001-octopy-demo
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
secop_errors.py
+1
-1
1 addition, 1 deletion
secop_errors.py
with
1 addition
and
1 deletion
secop_errors.py
+
1
−
1
View file @
ce308fdb
...
...
@@ -5,7 +5,7 @@ def error_missing_mandatory(key, level='node'):
print
(
'
KeyError, {} has to have a value at {} level
'
.
format
(
key
,
level
))
class
SecopException
(
Base
Exception
):
class
SecopException
(
Exception
):
def
__init__
(
self
,
message
,
**
kwargs
):
self
.
lst
=
[
str
(
self
.
__class__
.
__name__
),
str
(
message
),
str
(
kwargs
)]
super
(
SecopException
,
self
).
__init__
(
self
.
lst
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment