From 81f9571072a7978fe8b65dd9645d30e351138acd Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 12 Dec 2022 20:30:55 +0800 Subject: Develop secret api. v31 --- .../CrupestApi.Commons/Crud/InternalException.cs | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/InternalException.cs (limited to 'docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/InternalException.cs') diff --git a/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/InternalException.cs b/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/InternalException.cs deleted file mode 100644 index 1a10b97..0000000 --- a/docker/crupest-api/CrupestApi/CrupestApi.Commons/Crud/InternalException.cs +++ /dev/null @@ -1,15 +0,0 @@ -namespace CrupestApi.Commons.Crud; - -/// -/// This exception means the exception is caused by user and can be safely shown to user. -/// -[System.Serializable] -public class UserException : Exception -{ - public UserException() { } - public UserException(string message) : base(message) { } - public UserException(string message, System.Exception inner) : base(message, inner) { } - protected UserException( - System.Runtime.Serialization.SerializationInfo info, - System.Runtime.Serialization.StreamingContext context) : base(info, context) { } -} \ No newline at end of file -- cgit v1.2.3