OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Class NotEnoughBalanceException

The exception that is thrown when an actor does not have enough balance.

Inheritance
System.Object
UserFriendlyException
NotEnoughBalanceException
Namespace: OpenMod.Extensions.Economy.Abstractions
Assembly: OpenMod.Extensions.Economy.Abstractions.dll
Syntax
public class NotEnoughBalanceException : UserFriendlyException

Constructors

| Improve this Doc View Source

NotEnoughBalanceException(String)

Declaration
public NotEnoughBalanceException(string message)
Parameters
Type Name Description
System.String message
| Improve this Doc View Source

NotEnoughBalanceException(String, Decimal)

Declaration
public NotEnoughBalanceException(string message, decimal balance)
Parameters
Type Name Description
System.String message
System.Decimal balance

Properties

| Improve this Doc View Source

Balance

Gets the current balance.

Declaration
public decimal? Balance { get; }
Property Value
Type Description
System.Nullable<System.Decimal>

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)