mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-12-30 00:05:48 +08:00
* #280 can now add response headers inc trace id, now need to consolidate the header place holder stuff * #280 changed port for linux tests * #280 lots of hacking around to handle errors and consolidate placeholders into one class
12 lines
333 B
C#
12 lines
333 B
C#
using Ocelot.Errors;
|
|
|
|
namespace Ocelot.Infrastructure
|
|
{
|
|
public class CouldNotFindPlaceholderError : Error
|
|
{
|
|
public CouldNotFindPlaceholderError(string placeholder)
|
|
: base($"Unable to find placeholder called {placeholder}", OcelotErrorCode.CouldNotFindPlaceholderError)
|
|
{
|
|
}
|
|
}
|
|
} |