prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  PermissionError redeclared in exceptions.py shadows built-in PermissionError class
  ```
  class PermissionError(BaseException):
  	pass
  ```
  
  Can we remove this and just use the built-in? Or we could rename ours to something different.
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `archinstall/lib/exceptions.py`
  Content:
  ```
  1 class RequirementError(BaseException):
  2 	pass
  3 
  4 
  5 class DiskError(BaseException):
  6 	pass
  7 
  8 
  9 class UnknownFilesystemFormat(BaseException):
  10 	pass
  11 
  12 
  13 class ProfileError(BaseException):
  14 	pass
  15 
  16 
  17 class SysCallError(BaseException):
  18 	def __init__(self, message, exit_code):
  19 		super(SysCallError, self).__init__(message)
  20 		self.message = message
  21 		self.exit_code = exit_code
  22 
  23 
  24 class ProfileNotFound(BaseException):
  25 	pass
  26 
  27 
  28 class HardwareIncompatibilityError(BaseException):
  29 	pass
  30 
  31 
  32 class PermissionError(BaseException):
  33 	pass
  34 
  35 
  36 class UserError(BaseException):
  37 	pass
  38 
  39 
  40 class ServiceException(BaseException):
  41 	pass
  42
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/archinstall/lib/exceptions.py b/archinstall/lib/exceptions.py
  --- a/archinstall/lib/exceptions.py
  +++ b/archinstall/lib/exceptions.py
  @@ -29,10 +29,6 @@
   	pass
   
   
  -class PermissionError(BaseException):
  -	pass
  -
  -
   class UserError(BaseException):
   	pass
  
verification_info: {"golden_diff": "diff --git a/archinstall/lib/exceptions.py b/archinstall/lib/exceptions.py\n--- a/archinstall/lib/exceptions.py\n+++ b/archinstall/lib/exceptions.py\n@@ -29,10 +29,6 @@\n \tpass\n \n \n-class PermissionError(BaseException):\n-\tpass\n-\n-\n class UserError(BaseException):\n \tpass\n", "issue": "PermissionError redeclared in exceptions.py shadows built-in PermissionError class\n```\r\nclass PermissionError(BaseException):\r\n\tpass\r\n```\r\n\r\nCan we remove this and just use the built-in? Or we could rename ours to something different.\n", "before_files": [{"content": "class RequirementError(BaseException):\n\tpass\n\n\nclass DiskError(BaseException):\n\tpass\n\n\nclass UnknownFilesystemFormat(BaseException):\n\tpass\n\n\nclass ProfileError(BaseException):\n\tpass\n\n\nclass SysCallError(BaseException):\n\tdef __init__(self, message, exit_code):\n\t\tsuper(SysCallError, self).__init__(message)\n\t\tself.message = message\n\t\tself.exit_code = exit_code\n\n\nclass ProfileNotFound(BaseException):\n\tpass\n\n\nclass HardwareIncompatibilityError(BaseException):\n\tpass\n\n\nclass PermissionError(BaseException):\n\tpass\n\n\nclass UserError(BaseException):\n\tpass\n\n\nclass ServiceException(BaseException):\n\tpass\n", "path": "archinstall/lib/exceptions.py"}], "after_files": [{"content": "class RequirementError(BaseException):\n\tpass\n\n\nclass DiskError(BaseException):\n\tpass\n\n\nclass UnknownFilesystemFormat(BaseException):\n\tpass\n\n\nclass ProfileError(BaseException):\n\tpass\n\n\nclass SysCallError(BaseException):\n\tdef __init__(self, message, exit_code):\n\t\tsuper(SysCallError, self).__init__(message)\n\t\tself.message = message\n\t\tself.exit_code = exit_code\n\n\nclass ProfileNotFound(BaseException):\n\tpass\n\n\nclass HardwareIncompatibilityError(BaseException):\n\tpass\n\n\nclass UserError(BaseException):\n\tpass\n\n\nclass ServiceException(BaseException):\n\tpass\n", "path": "archinstall/lib/exceptions.py"}]}