Skip to content

Commit

Permalink
2007-09-20 Carlos Guzmán Álvarez <carlosga05@gmail.com>
Browse files Browse the repository at this point in the history
	* Fixed issue #DNET-117
  • Loading branch information
carlosga committed Sep 20, 2007
1 parent a68d412 commit 8e46b26
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions NETProvider/source/FirebirdSql/Data/FirebirdClient/FbException.cs
Expand Up @@ -60,6 +60,19 @@ public FbErrorCollection Errors
}
}

public override int ErrorCode
{
get
{
if ((this.InnerException != null) && (this.InnerException is IscException))
{
return ((IscException)this.InnerException).ErrorCode;
}

return base.ErrorCode;
}
}

#endregion

#region · Constructors ·
Expand Down

0 comments on commit 8e46b26

Please sign in to comment.