IronSourceError.cs 461 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. public class IronSourceError
  3. {
  4. private string description;
  5. private int code;
  6. public int getErrorCode ()
  7. {
  8. return code;
  9. }
  10. public string getDescription ()
  11. {
  12. return description;
  13. }
  14. public int getCode ()
  15. {
  16. return code;
  17. }
  18. public IronSourceError (int errorCode, string errorDescription)
  19. {
  20. code = errorCode;
  21. description = errorDescription;
  22. }
  23. public override string ToString ()
  24. {
  25. return code + " : " + description;
  26. }
  27. }