devserver: move DevServerError to a separate module

The exception may be used by multiple applications in future, so move it
to a separate module.

BUG=chromium:993621
TEST=started devserver and verified nothing looks wrong.

Change-Id: I669be55c222f031f764da58f3b9939ff4c3a3652
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/1761785
Tested-by: Congbin Guo <guocb@chromium.org>
Reviewed-by: Congbin Guo <guocb@chromium.org>
Commit-Queue: Congbin Guo <guocb@chromium.org>
Auto-Submit: Congbin Guo <guocb@chromium.org>
diff --git a/devserver_exceptions.py b/devserver_exceptions.py
new file mode 100644
index 0000000..180ce25
--- /dev/null
+++ b/devserver_exceptions.py
@@ -0,0 +1,14 @@
+# -*- coding: utf-8 -*-
+# Copyright 2019 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+"""This module defines all exceptions used by DevServer."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+
+class DevServerError(Exception):
+  """Exception class used by DevServer."""