I wrote stored procedure witch sometimes RAISERROR(). I execute it through the entity framework like:
using( MyModelEntities conn = new MyModelEntities() ) {
conn.MyStoredProcedure(input_p, output_p);
}
Stored procedure:
create procedure dbo.MyStoredProcedure(
@input nvarchar(255),
@output int out
)
as
begin
...
RAISERROR (N'My Exception....', 10, 1);
...
end
go
Is there any opportunity to get information about error?