mirror of
https://github.com/docker/docs.git
synced 2026-03-29 23:38:56 +07:00
11 lines
217 B
Python
11 lines
217 B
Python
from __future__ import absolute_import
|
|
from textwrap import dedent
|
|
|
|
|
|
class UserError(Exception):
|
|
def __init__(self, msg):
|
|
self.msg = dedent(msg).strip()
|
|
|
|
def __unicode__(self):
|
|
return self.msg
|