#1 2015-04-21 20:38:24

avista
Member
Registered: 2014-01-06
Posts: 63

TSQLRestServerURIContext.Error() virtual?

Would it be possible to make the following method in mORMot.pas virtual on a go-forward basis? 

  procedure Error(const ErrorMessage: RawUTF8 = ''; Status: integer = HTML_BADREQUEST);
  overload;
  virtual; <------------

I need to override it to provide a consistent response format.

Thanks!

Offline

#2 2015-04-21 21:45:31

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: TSQLRestServerURIContext.Error() virtual?

Offline

#3 2015-04-22 01:02:47

avista
Member
Registered: 2014-01-06
Posts: 63

Re: TSQLRestServerURIContext.Error() virtual?

Thanks Arnaud!

Offline

Board footer

Powered by FluxBB