-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check uniapp is available when getting version.
- Loading branch information
Showing
2 changed files
with
50 additions
and
9 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
src/EasyAbp.UniappManagement.Application/UniappVersions/UniappUnavailableException.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
using EasyAbp.UniappManagement.Uniapps; | ||
using Volo.Abp; | ||
using Volo.Abp.ExceptionHandling; | ||
|
||
namespace EasyAbp.UniappManagement.UniappVersions | ||
{ | ||
public class UniappUnavailableException : BusinessException | ||
{ | ||
public UniappUnavailableException(Uniapp uniapp) : base(message: $"Uniapp is unavailable: {uniapp.Name} {uniapp.Id}") | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters